Skip to content

Hi, I am Sehresh Mehboob and Welcome to my Car Game Project in Java :-)

Notifications You must be signed in to change notification settings

sehresh92/Car-Game-Project-in-Java

Repository files navigation

Car-game-project-in-Java

Introduction:

The car racing game is a simple Java based 2D game. This game consists of single level or stage to play the game. You have to control the orange car from colliding with other cars. This game is very much fun and interesting to play.

About Game play:

First, download the project and extract it. When you are done extracting the folder, make sure you have your JDK set up to correct path. When you run the game, you will see your car moving on the road. You can select the start button to play the game. You cannot select different variety of cars to go into the race. Your arrows are the controller for this game. You have to just press the arrows to the adjacent sides to switch over the side. So that you prevent yourself from hitting the other objects and cars.

3 Pictures Description of my Java based Car Game Project:

https://github.com/sehresh92/Car-game-project-in-Java/blob/main/Driving%20Car%20on%20the%20street.png

https://github.com/sehresh92/Car-game-project-in-Java/blob/main/Driving%20Car%20on%20the%20street%20without%20Collision.png

https://github.com/sehresh92/Car-game-project-in-Java/blob/main/When%20two%20cars%20collied%20then%20Game%20%20over!.png

To run this game you will need a JDK installed on your system . Download and open this project in your code editor. Then there is Game.java file which you can modify. Run that file through the command prompt.

How to run this car game project on your computer:

open a command prompt by pressing win+r simultaneously and go to the location of the project by using the cd command:

CD desktop

CD “folder name”

javac Game.java

Now, run the java source code then it will start the Car Game in Java.

You can download my car game project from the following link:

https://github.com/sehresh92/Car-game-project-in-Java/tree/main/Project

you can download and check my car game java source code from the following link:

https://github.com/sehresh92/Car-game-project-in-Java/blob/main/Project/Game.java

The images folder is used in my car game project. You can download it from the following link:

https://github.com/sehresh92/Car-game-project-in-Java/tree/main/Project/Images

self car or orange car image:

https://github.com/sehresh92/Car-game-project-in-Java/blob/main/Project/Images/car_self.png

This is my complete Car game project in Java with source code and pictures.This game is very much fun and interesting to play. So, Now you can download it, run it on your computer and you can able to modify it.

Thank you for watching my Car Game Project in Java :-)

About

Hi, I am Sehresh Mehboob and Welcome to my Car Game Project in Java :-)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages