Skip to content

zilogfa/D23_crossing_capstone_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crossing Game

This repository is dedicated to the Crossing Game, a simple yet challenging game where the player's objective is to cross a busy road without getting hit by oncoming traffic.

Table of Contents

Introduction

The Crossing Game is inspired by classic arcade games where timing and speed are key. Navigate your character across the screen while avoiding speeding vehicles. Each successful crossing increases the game's difficulty by speeding up traffic. How far can you go?

Technologies

This game is created using:

  • Python 3.8+
  • Turtle Module

Files in the Project

  • main.py - The entry point of the game, containing the main game loop.
  • player.py - Defines the Player class with player movement logic.
  • car_manager.py - Handles car generation and movement on the road.
  • scoreboard.py - Manages the scoring system and displays the current level.

Setup

To run this game, make sure you have Python 3 installed. Execute the game by running the main.py file:

python main.py

Gameplay

  • The player starts at the bottom of the screen and must reach the top to score a point.
  • Press the "Up" arrow key to move the player upward.
  • Avoid the cars that cross the screen horizontally.
  • Each time the player reaches the top, the game's difficulty increases.

Features

  • Increasing difficulty with each level
  • Dynamic car generation for varied gameplay
  • Collision detection with game over scenario
  • Persistent score tracking across levels

Developer

This game is developed by Ali Jafarbeglou. If you have any queries or suggestions, feel free to reach out or propose changes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages