This is a simple implementation of the classic Fruit Ninja game using Python and the Pygame library. Slice through various fruits while avoiding the bombs to score points and advance through different difficulty levels. The game features a dynamic background, fruit facts display, and a fun theme selection screen.
- Fruit Slicing: Slice through melons, oranges, pomegranates, guavas, and avoid bombs to score points.
- Dynamic Difficulty Levels: The game adjusts difficulty based on player performance, affecting spawn rates and bomb frequency.
- Theme Selection: Choose between different themes (e.g., Summer, Winter) for a personalized gaming experience.
- Fruit Facts Display: Learn interesting facts about fruits while playing, displayed dynamically on the screen.
- Lives System: The player starts with three lives and loses one for each bomb hit. The game ends when all lives are lost.
- Run the game by executing the Python script.
- Use the mouse to slice fruits and avoid bombs.
- Select a theme at the beginning of the game.
- Enjoy the dynamic background, fruit facts, and increasing difficulty as you play!
- Python 3.x
- Pygame library
- Clone the repository.
- Install the required dependencies using
pip install -r requirements.txt
. - Run the game with
python fruit_ninja.py
.
Feel free to contribute, report issues, or suggest improvements!