Git Product home page Git Product logo

gaurav-210 / racing_car_game Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 5.29 MB

Game creation in any programming language is very rewarding, and also makes for a great teaching tool. With game development, you often have quite a bit of logic, mathematics, physics, artificial intelligence, and other things, all of which come together for game creation. Not only this, but the topic is games, so it can be very fun. Many times people like to visualize the programs they are creating, as it can help people to learn programming logic quickly. Games are fantastic for this, as your are specifically programming everything you see.

Python 100.00%

racing_car_game's Introduction

Racing_car_Game

Designed and developed by Gaurav Chauhan

Game creation in any programming language is very rewarding, and also makes for a great teaching tool. With game development, you often have quite a bit of logic, mathematics, physics, artificial intelligence, and other things, all of which come together for game creation. Not only this, but the topic is games, so it can be very fun. Many times people like to visualize the programs they are creating, as it can help people to learn programming logic quickly. Games are fantastic for this, as your are specifically programming everything you see.


WHAT THIS APPLICATION WILL DO ?

This gaming application is a car game with animation effects in Python used to play game with cars and the objects.

  • The game is simple car game where the player has to avoid obstacles to get points for each obstacle dodged.
  • The game shows the score and asks for a option for replay when the player crashes his car.

The application is built using pygame library. It has the following components

  • GUI
  • Moving object
  • Audio and sound effects

Objectives Achived

  • Simple GUI for the game window
  • Add the car icon in the game
  • Use sound and audio effects
  • Display score as the no of obstacles dodged
  • Replay options for the game to restart

Getting Started

1. The things you need to load the game up:

2. Matching PyGame version from pip.

Download and install python 3.3+, make sure its on your PATH. Now install pygame!

* pip install pygame                              

To run interminal type :-python game.py


Step1


To start the game click on Start Button

Step2


To read the instruction of the game click on Instruction Button

Step3


finally the game begins........

finalStep


If you want to pause the game you can click on paused button which is given on right top corner of the window

Step4


When you paused the game you have three choices...

1. Continue

2. Restart

3. Main Menu

Step5


                                            THANK YOU

Special Thanks To

 Acadview
 Aishwary Sir
 Mukesh Dubey
 Rahul 

racing_car_game's People

Contributors

gaurav-210 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.