Skip to content

e-reznik/Box-Manager

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Box-Manager

Simple boxing simulator, that simulates a fight, based on some (random) parameters.

Boxer

  • String name
  • Offense offense
  • Defense defense
  • double power = 10
  • double endurance
  • double strength
  • double motivation
  • double speed
  • double agility
  • double weight
  • double size
  • Tactics tactics
    • offensive
    • defensive

Offense

  • List<Skill> skills = new ArrayList<>();
    • jab
    • cross
    • hook

Defense

  • List<Skill> skills = new ArrayList<>();
    • block
    • parry
    • slip

Skill

  • String name
  • double ability
  • double impact
  • double probability

Class Diagram

class diagram