Skip to content

JulesVautier/FlappySound

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FlappySound

A Flappy Bird Clone made using python-pygame playable with your voice using arduino and sound sensor It's a fork from an existing project. The code was great and well documented, really big thanks to the author sourabhv. I modified some element of the game to make it easier to play with voice.

How-to

  1. Clone this repository.

Arduino setup

  1. Download Arduino IDE.

  2. Setup your arduino like this alt text

Hardware:

  • arduino zero
  • sound sensor
  • 3 links
  • use the analogic output to have more precises value with a big-sound sensor
  1. With the Arduino IDE, open sound_reader/sound_reader.ino and upload the code on your arduino.

Python setup

  1. Install Python 2.7.X or 3.5.x from here.

  2. Go in the FlappySound folder and pip install requirement.txt.

  3. Edit flappy.py and change the variable Port by the port used by your arduino.

  4. Run python flappy.py.

  5. use or Space key to play and Esc to close the game. I game: speak loudly or use your blow to make the bird fly.

Monitoring with GUI

  1. Go in the GUI folder and pip install requirement.txt.

  2. Run python gui.py while playing to see the values from the sound sensor.

Works on Windows

Releases

No releases published

Packages

No packages published