Chris Pollett > Students > Sodhi

    Print View



    [CS 297 Proposal]

    [Power Point Presentations]

    [Deliverable 1]

    [Deliverable 2]

    [Deliverable 3]

    [Deliverable 4]

    [CS 297_Report - PDF]

    [CS 298 Project Proposal]

    [CS 298 Project Report - PDF]

    [CS 298 Project Presentation - PDF]

Python program to control the game


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