A simple clone of the Chrome Dinosaur offline game, written in Java using Swing.
- Classic endless runner gameplay
- Jump and duck to avoid cacti and pterodactyls
- Moving ground and clouds for a dynamic background
- Score and high score tracking
-
Requirements:
- Java 23 or higher
- Maven
-
Build and Run:
- Clone the repository:
git clone https://github.com/NamelessProj/Chrome_Dinosaur.git
- Navigate to the project directory:
cd Chrome_Dinosaur - Build the project using Maven:
mvn clean package mvn compile mvn package
- Run the game:
java -jar target/Chrome_Dinosaure-1.0-SNAPSHOT.jar
- Clone the repository:
-
Controls:
Key Up: JumpKey Down: DuckKey R: Restart game
src/main/java/ChromeDinosaur.java- Main game logic and renderingsrc/main/java/Block.java- Game object representationsrc/main/java/Main.java- Entry pointsrc/main/resources/images/- Game images (dinosaur, cacti, ground, etc.)
See LICENCE for details.