opencv-python or opencv
Here two programs are added GestureControl.py and TimedPress.py. Run GestureControl.py to make motion in games using your fingers(STILL A LOT OF BUGS TO BE FIXED) without touching the keyboard or Run TimedPress.py to make an AI play the game that too witout pressing any keyboard keys.
ONLY RUN THE SCRIPT AFTER ENTERING THE GAME.