Skip to content

LoeweGuckmal/Fruit-Hunt

Repository files navigation

Fruit-Hunt

Fruit-Hunt is an exciting 1 vs. 1 game, programmed by Balog and me, LoeweGuckmal. It offers two thrilling versions:

  • A version for the Raspberry Pi with a 7-segment display and buzzer.
  • A version that can be played on any device with python installed.

Dive into the world of Fruit-Hunt and enjoy the fun on your preferred device!

Troubleshooting Fruit-Hunt

If you try to start the game and it doesn't work or you receive an error message, please follow the steps below:

1. Check the error message

Look at the error message displayed in the terminal or console. It might give you clues about what the problem is. Example:

Error example

2. Install missing dependencies

Make sure you have all the required Python packages installed. You can install these with pip. Open a terminal or command line and run the following commands:

pip install pygame
pip install colorama

Example:

Pip install example

These commands install the necessary libraries pygame and colorama. If you receive other error messages, check if additional libraries are missing and install them accordingly.

The game should now be able to run by double-clicking on the file. Good luck and have fun with the game!

3. Setting up the Raspberry Pi

If you want to use the game with a Raspberry Pi, you need to connect the components as shown:

Raspberry Pi Connection Diagram

Follow the diagram to properly connect the 7-segment display and buzzer to your Raspberry Pi. Once connected, power on your Raspberry Pi and run the game as usual. Enjoy playing Fruit-Hunt with your Raspberry Pi setup!