Draft of the idea - https://scastie.scala-lang.org/programaker/QzbOoPCxTIuCvlXhWyUPBA/8 GameProgress.start should accept only defeated Invasions. `defeated` flag will be removed and replaced by type checking.
Draft of the idea - https://scastie.scala-lang.org/programaker/QzbOoPCxTIuCvlXhWyUPBA/8
GameProgress.start should accept only defeated Invasions.
defeatedflag will be removed and replaced by type checking.