Skip to content

Create Player Class

Create a class that represents the player of the game.

  • Each player represents a faction
  • Each player has a money count
  • A player loses if all their units are dead or their HQ gets captured
  • A player can start and end their turn
    • At the start of a players turn, all their units get made available again and they gain money
    • At the end of a players turn, all their units become unavailable