Skip to content

marinashe/Sneaky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sneaky

A game on RaspberryPi with a LED and a press button.

Your goal: To turn off the LED. Each time you start pressing the button or release the button, the LED toggles (changes from ON to OFF or from OFF to ON).

The computer will turn the LED on randomally. You will need to press or release the button to turn it off. However, after a few seconds, as you are pressing (or not pressing) the button the computer will turn the LED on again, and you have to act again...

So - the comupter tries to keep the LED on while you try to keep it off...

Beware... Sometimes it will try to trick you to make you turn it on...

Usage:

  • Single player (vs. RasPi):

$ ./game.py single

  • Two players:

$ ./game.py dual

The board

Videos

https://www.youtube.com/watch?v=yedPoMH8BTM

https://www.youtube.com/watch?v=vaDmj0_-fOU

About

Game on RaspberryPi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages