This is a simple Java console game where a T-Rex battles a Triceratops.
- Java
Compile the Dinosaur.java file and run it using a Java Runtime Environment.
Gameplay
The user controls the T-Rex. Choose between 'bite' and 'punch' to attack. The Triceratops counterattacks randomly. The game continues until one of the dinosaurs is defeated. Future Work
Implement AI logic for Triceratops Add more dinosaurs
javac Dinosaur.java
java Dinosaur