A Marvel-themed 2-player turn-based board game built in Java
Marvel Ultimate War is a Java-based turn-based strategy game inspired by the Marvel universe. Two players face off on a 5x5 tile board using superhero characters with unique abilities. The objective: outsmart your opponent using strategic movement, attacks, and defense mechanisms.
- Java – Core logic and object-oriented design
- Java Swing – For building the graphical user interface (
JFrame,JPanel,JButton, etc.) - OOP Concepts – Encapsulation, inheritance, and polymorphism
- Design Patterns – Strategy Pattern for character abilities and actions
- Custom Event Handling – For responsive and interactive gameplay
- 2-player local gameplay with turn-based mechanics
- Multiple Marvel superheroes with unique powers
- Tile-based movement on a 5x5 game board
- Character selection and real-time stat display
- Intuitive GUI with responsive buttons and highlights
- Modular and extendable codebase for adding new characters or abilities
| Character Selection | In-Game Action |
|---|---|
![]() |
![]() |
- Java 8 or higher
- IDE like IntelliJ IDEA, Eclipse, or VS Code
- Clone the repository:
git clone https://github.com/oaly2/Marvel-Ultimate-War.git cd marvel-ultimate-war - Open in your favorite IDE and run
Main.java
💡 If you’re using an IDE, make sure all
.javafiles are in the correct package/folder structure.


