Skip to content

Create a method that controls player offensive invasions  #126

Description

@anthonyLuttrell

Player sends invasion squad

  • This method should take in parameters from the scout results (Create a system that will hold, track, and display the findings of the player's scouts #125)
  • For now, combat system will be very light. This will develop more as we go
  • Player simply sends invasion squad, after x game days pass, invasion squad arrives
  • 1% of colony must stay behind to care for queen
  • Player should not know exact NPC colony population, but scout results will tell the player if it is a small, medium, or large colony. Player should learn what that means through failed attempts.
    • Example: If player attacks a medium-sized colony with a force they feel is sufficient, player will lose invasion and realize that was not enough, they must try again with a larger invasion squad.

“Your invasion squad has been sent into battle! ...”

“The squad will arrive in x days...”

  • If player sent < 99% of colony to invade:

    “Until then, you can continue to gather resources and upgrade your colony with your remaining forces.”

  • If player sent 99% of colony to invade:

    “Until then, you are at the mercy of time! Press ENTER now to end the current day.”

  • Game should then proceed to the invasion squad results method or combat method

Snapshot of current flow

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions