Skip to content

Cremator-2/Game2048

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Game 2048 with gesture control

This project recreated the functionality of the game 2048. Implemented the functions of undo last move, counting and saving the best score of the selected player. The project uses OpenCV and Mediapipe for gesture recognition. To run the game without recognition, use the Game2048.py script. To run with recognition - Gesture_control.py.

Gesture control

To swap the playing field to the sides, use the index finger of your right hand.

swapping

After the swap, there is a delay before the next move to avoid false positives. To undo a move, make a fist with your other fingers.

undo

To start a new game, squeeze your thumb.

new_game

Video

Game2048

2048 with gesture control Full video