Skip to content

sinan-ashraf/turtle-crossing-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Turtle Crossy Road

Overview

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.

Prerequisites

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)

Steps to Download and Run the Project

Installation

To get started with this project, follow these steps:

  1. 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

  2. After cloning, navigate to the project's directory. Type the following into the terminal: cd turtle-crossing-game

  3. Install the dependencies: pip install -r requirements.txt

  4. Finally, to start the game, run the following command: python3 main.py

Usage

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! :)

About

A fun and interactive python game, created using OOP and Turtle Module

Topics

Resources

Stars

Watchers

Forks

Languages