abidurrahman11 / Pygame-Racing-Car

Pygame Racing Car is a beginner-friendly open source project on GitHub aimed at improving the Pygame-based racing car game. This repository welcomes contributions from anyone interested in enhancing the game's features and functionality.
MIT License
12 stars 20 forks source link
beginner-friendly game game-development open-source opensource pygame python

# Pygame: Racing Car

Welcome to the Pygame Racing Car project, a collaborative effort to improve a fun and engaging racing car game built using the Pygame library. This project is open to anyone who wants to contribute to making the game better.

Contributors Forks Stargazers Issues first-timers-only PRs

Getting Started

To get started, check out the development guide and review the code to familiarize yourself with the game's structure and functionality. If you're new to Pygame or game development in general, don't worry - this project is beginner-friendly and offers a great opportunity to learn by doing.

How to Play

Race as far as you can while avoiding oncoming vehicles. The farther you drive the more points you will get.

Switch to Left Lane:    A, or Left Arrow 
Switch to Right Lane:   D, or Right Arrow 
Accelerate:             W, or Up Arrow 
Pause:                  Space Bar
Exit:                   Q, or ESC

Screenshots

<p align="middle"">

Game screen 1

       

Game screen 2

Contributing

Contributions are welcome and encouraged! Whether you're a seasoned Python developer or just getting started, there are many ways to contribute to this project. You can help by adding new features, improving the game's graphics, fixing bugs, or simply testing the game and providing feedback.

If you are interested in learning Pygame, checkout the official documentation.

Development

If you are confused about how to get started, don't worry - here is a development guide.

Installation

You will need to clone the repository and enter the directory.

git clone https://github.com/abidurrahman11/Pygame-Racing-Car.git
cd ./Pygame-Racing-Car

If you haven't already, you will need to download the Pygame library.

pip install pygame

Testing

To run and test the code, enter this line:

python3 cargame.py

That's it! Now you can get started on developing.

Issues and Feedback

If you encounter any issues or have feedback on how we can make the game better, please let us know by opening an issue in the repository. We appreciate your input and look forward to working with you to make Pygame Racing Car the best it can be!

License

Pygame: Racing Car is open-source and licensed under the MIT License.