🐢 Turtle Crossing Game
A fun Python game built using the turtle graphics module. Your goal is simple: help the turtle cross the road without getting hit by cars!
🚀 How to Play
Press "Up" Arrow to move the turtle upward Press "Down" Arrow to move downward Avoid the moving cars Each time you reach the top, you level up and car speed increases The game ends if the turtle collides with a car
🧠 Features
Smooth player movement Random car generation Increasing difficulty each level Scoreboard with current level Game over message Clean object-oriented design (OOP)
🛠 Requirements
Make sure you have Python 3.x installed. The game uses only built-in libraries:
- turtle
- time
- random No external dependencies are required.
Open a terminal inside the project folder and run: python main.py
The game window will open instantly.
❤️ Credits Made with Python Turtle by Tenath Dilusha.