A version of the iconic game as seen in the Netflix series: Squid Game, created using Open CV.
Travelling towards the PC camera, the aim is to finally hit the 'w' key to win.
- You move during the red light period, you lose.
- You don't hit the 'w' key before the counter goes to zero, you lose.
- You hit 'q' key in between the game, you lose.
The code uses a simple motion detection technique to detect movements from the instant the doll opens its eyes (red light). It can be played with multiple players, too. Anyone moves during red light, the game gets over.
Find demo here: https://youtu.be/WMmskDZWDMI