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
- Clone the repository:
- git clone https://github.com/TahsinaLira/Car_Racing_Game.git
- Open the project in any Java IDE (IntelliJ / Eclipse / NetBeans)
- Set up MySQL database: o Create a database o Import the SQL file (if provided)
- Update database credentials in the code:
- String url = "jdbc:mysql://localhost:3306/database_name";
- String user = "root";
- String password = "your_password";
- Run the main file: Main.java