Fruit Collection Game
This is a simple Python game implemented using Pygame, where the player and an AI compete to collect fruits on a grid while avoiding collisions.
Features
- Player and AI movement within a grid.
- Collision detection between player, AI, and fruits.
- Dynamic fruit spawning and collection.
- Display of scores and accuracy at the end of the game.
Installation
Clone the repository:
bash
git clone https://github.com/your_username/fruit-collection-game.git
Install Pygame if you haven't already:
bash
pip install pygame
Usage
Run the main Python script to start the game:
bash python fruit_collection_game.py