Skip to content

DavidEricson00/Elemental_Battle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💧⚪ Elemental Battle 🔥🌱

💫 About the Game

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).

📌 Objectives

Improve my Java skills and learn object-oriented programming concepts.

🕹️ Key Features

  • 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.

🎲 Game Modes

  • 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.

📂 File Structure

└── 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.

📦 Dependencies

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.

📥 Getting Started

To start playing the Elemental-Battle, follow these steps:

  1. Clone the repository:
  2. git clone https://github.com/DavidEricson00/Elemental-Battle.git
  3. Navigate to the project directory:
  4. cd Elemental-Battle
  5. Compile the Java files:
  6. javac src/*.java
  7. Run the main menu class:
  8. java -cp src MainMenu

About

Elemental Battle is a turn-based battle simulator where each element has unique attributes and sprites. Players can use pre-generated elements or create custom ones. This project aims to enhance Java and object-oriented programming skills.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages