Python program to control the game



Description:

In order to be able to play the game, the machine needs to control it. Deliverable 2 comprises of a program in python that controls the keyboard and mouse functions of the laptop. This would further help in controlling the game and then take screenshots of it.


About the program:
  1. PIL: Public Imaging Library
  2. Python librPyscreenshot
  3. Features of the program: using existing python APIs/libraries described above, it simulates keystrokes and mouse movements

Steps to make the program run:
  1. Download the program
  2. On your Terminal type: "pip install pyautogui", "pip install PIL"
  3. On your Terminal type: python controlGame.py