Skip to content

Hurdle-Avoiding Car Game: A game I developed using Python where the player controls a car to avoid incoming hurdles. The car moves left or right to dodge obstacles, with increasing speed over time. This project showcases my skills in Python programming and game development, offering a fun and challenging experience.

Notifications You must be signed in to change notification settings

DivInstance/hurdle-avoiding-car-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Hurdle-Avoiding-Car-Game

A simple Python + Pygame arcade-style game. The player controls a red car moving left and right to avoid falling blue obstacles on the road. The game ends when the player collides with an obstacle.

Preview


Gameplay Instructions

  • Controls:

    • Left Arrow: Move car left
    • Right Arrow: Move car right
  • Rules:

    • Avoid hitting the blue obstacles.
    • The game runs at a steady 60 FPS for smooth gameplay.
    • Collision with any obstacle ends the game.

Installation Requirements

  • Python 3.7 or later
  • Pygame library

You can install Pygame using:

pip install pygame

How to Run

  1. Clone or download this repository.
  2. Open the project folder in your terminal.
  3. Run the game script:
python main.py

License

This project is licensed under the MIT License – feel free to use, modify, and distribute.

About

Hurdle-Avoiding Car Game: A game I developed using Python where the player controls a car to avoid incoming hurdles. The car moves left or right to dodge obstacles, with increasing speed over time. This project showcases my skills in Python programming and game development, offering a fun and challenging experience.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages