In this game, you control a turtle trying to cross a busy road filled with moving cars. The objective is to safely guide your turtle from the bottom of the screen to the top without getting hit by the cars. As you progress, the game becomes more challenging with increasing car speed.
This project is built using Python's turtle graphics module and follows Object-Oriented Programming principles, making the game logic modular and easy to understand.
Before you begin, ensure you have the following installed:
- Python 3.x
- A code editor like VS Code (optional but recommended)
- Git (optional, for cloning the repository)
To get started with this project, follow these steps:
-
Clone the repository: In your terminal, type the following command to clone the project onto your local machine: git clone https://github.com/ssinaann/turtle-crossing-game.git
-
After cloning, navigate to the project's directory. Type the following into the terminal: cd turtle-crossing-game
-
Install the dependencies: pip install -r requirements.txt
-
Finally, to start the game, run the following command: python3 main.py
Use the arrow keys to move the turtle. Avoid the cars and reach the top to progress onto the next level. As the levels progress, the cars move faster! Good luck! :)