Skip to content

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Car Racing Game (Java)

This is a simple car racing game developed in Java where the player controls a car by changing their features and avoids collision with incoming bot cars. The goal is to survive as long as possible and achieve a high score.

Technologies Used • Java (Swing for GUI) • JDBC • MySQL • Multithreading

How to Run

  1. Clone the repository:
  2. git clone https://github.com/TahsinaLira/Car_Racing_Game.git
  3. Open the project in any Java IDE (IntelliJ / Eclipse / NetBeans)
  4. Set up MySQL database: o Create a database o Import the SQL file (if provided)
  5. Update database credentials in the code:
  6. String url = "jdbc:mysql://localhost:3306/database_name";
  7. String user = "root";
  8. String password = "your_password";
  9. Run the main file: Main.java
menu_bg cross_road

About

A Java Swing-based car racing game where players dodge incoming cars, survive longer.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages