Skip to content

0ddev3/MarvelVsDC-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Marvel vs DC Character Simulator

Description

The Marvel vs DC Character Simulator is a Java-based program that allows users to simulate battles between characters from the Marvel and DC universes. The program employs object-oriented programming concepts such as classes, inheritance, polymorphism, and data binding, as well as collections like ArrayLists to manage character data.

Users can add characters, define their powers, engage them in battles, and display various statistics, providing an interactive way to explore the dynamics between these iconic heroes and villains.

Features

  • Display Characters: Show all heroes and villains from both Marvel and DC.
  • Fight Simulation: Simulate battles between characters and determine the winner based on their stats and abilities.
  • Character Management: Add new characters, including their powers and attributes.
  • Search Functionality: Find characters based on their names and display relevant information.
  • Universe-wide Statistics: Generate statistics for characters, including performance metrics and abilities.

Installation

  1. Clone the repository to your local machine:
    git clone https://github.com/yourusername/MarvelVsDC-Simulation.git
    
  2. Navigate to the project directory: cd MarvelVsDC-Simulation
  3. Complie the java files: javac *.java
  4. Run the main program java main

Usage

Once the program is running, you can enter various commands to interact with the simulator. Here are some examples of commands you can use:

Commands

  • DISPLAYHEROS
  • DISPLAYVILLAINS
  • DISPLAYMARVEL
  • DISPLAYDC
  • FIGHT, Captain America, Iron Man
  • ADDPOWER, The Flash, Superhuman Strength
  • SEARCHCHARACTER, The Roberson
  • ADDCHARACTER, superhv, Thanos, Villains, Marvel, Titan, 6, 9, 9, 5, 6, Superhuman Strength, Superhuman Speed, Superhuman Stamina, Regenerative Healing Factor
  • DISPLAYSTATS

Acknowledgements

This project is inspired by the rich universes of Marvel and DC comics and aims to provide a fun and engaging way to explore character interactions through programming.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages