HomePetition - Raspberry Pi Quiz Game

by sxnxzaki in Circuits > Raspberry Pi

559 Views, 0 Favorites, 0 Comments

HomePetition - Raspberry Pi Quiz Game

HomePetiton - knowledge competition!

Simple 4-players quiz game for Raspberry Pi with a dedicated controller for each player.

Supplies

  • Raspberry Pi computer (originally 4B, but a lower version will be suitable)
  • screen
  • mouse (to turn on the game)
  • 16 x tact switch (4 x blue, 4 x green, 4 x yellow, 4 x red)
  • wires
  • optional: breadboards

Prepare Required Sortware

Make sure that all the required software are installed on your Raspberry Pi:

  • Operation system with GUI (Raspbian OS)
  • Python, version at least 3.9.6
  • Pygame, version 2.1.2

Prepare Circuit

scheme.png
Obraz1.jpg

Prepare 4 player controllers.

Each controller should have 4 buttons: blue, green, yellow, and red.

You can use breadboards to connect switches to Raspberry Pi.

Download Project Files

Copy project files from GitHub.

https://github.com/awilinska/RPiQuizGame

Download files from Google Drive:

https://drive.google.com/drive/folders/1iScSTNkFEy-0QqyfbInXBag1A7NDawHB

Save all the files in the folder /home/pi/Desktop/RPI Quiz Game, otherwise, the project will not work.

Download Sound Effects

All of the sounds came from the https://mixkit.co/free-sound-effects/ , you have download it by your own according to the MixKit license.

ans.mp3 - Retro arcade casino notification

que.mp3 - Arcade video game bonus

app.mp3 - Cartoon monkey applause

dec.mp3 - Winning a coin, video game

wait.mp3 - Mystwrious bass pulse

Save all the files in the folder /home/pi/Desktop/RPI Quiz Game, otherwise, the project will not work.

Run the Project

h1.png
h2.png

Run the project by running the game.py file.

Enjoy and visit my GitHub :)