This is a simple implementation of the classic game "Turtle Crossing".
main.py
: This is the main entry point of the game. It sets up the game screen.car_manager.py
: This file defines theCarManager
class.player.py
: This file defines thePlayer
class.scoreboard.py
: This file defines theScoreboard
class, which is used to display the current score.
To run the game, simply execute the main.py
script with Python 3.
python3 main.py
Controls
The turtle is controlled with the 'Up' key to move forward.