Skip to content

Latest commit

 

History

History
89 lines (62 loc) · 2.5 KB

README.md

File metadata and controls

89 lines (62 loc) · 2.5 KB

Escape Route - 2D Car Dodging Game

1

Table of Contents

Description

Escape Route is a 2D car dodging game developed in Python using the Pygame library. In this game, you control a car and your objective is to dodge oncoming cars and obstacles on the road to achieve the highest score possible.

Features

  • Intuitive and engaging gameplay.
  • Randomly generated opponent cars and obstacles.
  • Keep track of your highest score.
  • Multiple lives to keep you in the game.

Getting Started

3

2 5 4

Prerequisites

To run Escape Route, you'll need:

  • Python (3.7+ recommended)
  • Pygame library

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/your-username/escape-route.git
    

Install Pygame if you haven't already:

bash Copy code pip install pygame How to Play Run the game using Python:

bash Copy code python main.py On the main menu, you can choose to start the game, view instructions, or quit.

Use the arrow keys to control your car:

Left arrow: Move left Right arrow: Move right Up arrow: Speed up temporarily (limited use) Dodge oncoming cars and obstacles while trying to achieve the highest score.

You have a limited number of lives. The game ends when you run out of lives.

Controls: Use the arrow keys for car control. Press "P" to pause the game. Screenshots Gameplay Instructions

Contributing: If you'd like to contribute to this project, please follow these steps:

Fork the repository: Create a new branch for your feature: git checkout -b feature-name Commit your changes: git commit -m 'Add a new feature' Push to the branch: git push origin feature-name Create a pull request.