Elemental Battle is a virtual creature battle simulator developed in Java. The project was created with the goal of deepening my understanding of the Java language and object-oriented programming (OOP).
Improve my Java skills and learn object-oriented programming concepts.
- Element Battle: An arena where two elements fight to see who comes out victorious.
- Turn-Based Combat: Turn-based combat mechanics where each element can attack to cause damage or defend to block attacks.
- Element Types: The game features various species of elements, each with unique types and sprites.
- Weakness System: Each element has a type with specific weaknesses against others.
- Create Your Own Element: You can create your own element and assign custom attributes to it.
- Play with Predefined Elements: Play with elements that come with predefined attributes.
└── Elemental-Battle/
├── MainMenu.java: Entry point of the game, contains the menu to access game functionalities.
├── Element.java: Defines the Element class and manages element actions.
├── Battle.java: Contains the loop and logic for managing the battle.
└── Display.java: Manages the elements and attack visuals.
Before running the game, make sure you have the following installed:
- Java Development Kit (JDK) version 8 or later: You will need the JDK to compile and run the Java files.
- Java Runtime Environment (JRE): Required to run Java applications.
To start playing the Elemental-Battle, follow these steps:
- Clone the repository:
- Navigate to the project directory:
- Compile the Java files:
- Run the main menu class:
git clone https://github.com/DavidEricson00/Elemental-Battle.gitcd Elemental-Battlejavac src/*.javajava -cp src MainMenu