Home-built shooting game with Nerf targets and a Raspberry Pi
Different Games and Future Expansions
Since the game logic now resides on the Raspberry Pi, it will be easy to implement different game modes in the future. Our plan for next year is to add an RGB LED that can be controlled by the server. This addition will allow targets to change teams, randomly deactivate themselves, or become "destroyed" in the process of game play. Other than modifying the node with instructions for an RGB LED, changes will only have to take place in the server.
I hope this project has shown how a microcontroller and a larger server can interact. In this example, it's for a fun block party game, but the same concepts apply to any project with distributed sensors or smaller processing nodes. Even if you're not using wireless, the same principles apply to any project with multiple processors that need to talk with each other.
Infos
- Arduino Uno: https://store.arduino.cc/usa/arduino-uno-rev3
- WiFi Kit 8: https://heltec.org/project/wifi-kit-8/
- Piezo disks: https://en.wikipedia.org/wiki/Piezoelectric_sensor
- Python curses library: https://docs.python.org/3/library/curses.html
- eSpeak text-to-speech engine: http://espeak.sourceforge.net/
« Previous 1 2
Buy this article as PDF
(incl. VAT)