showman-sharma / red-light-green-light

A version of the iconic game as seen in the Netflix series: Squid Game, created using Open CV

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RED LIGHT GREEN LIGHT

A version of the iconic game as seen in the Netflix series: Squid Game, created using Open CV.

OBJECTIVE

Travelling towards the PC camera, the aim is to finally hit the 'w' key to win.

RULES

  • 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

About

A version of the iconic game as seen in the Netflix series: Squid Game, created using Open CV

License:MIT License


Languages

Language:Python 100.0%