methods.ts currently has a lot of logic in it (including validating movement, performing attacks, validating end-of-turn, and validating city and improvement creation). We probably want to move as much logic as possible into the Game, World, and Map classes, where appropriate.
methods.ts
currently has a lot of logic in it (including validating movement, performing attacks, validating end-of-turn, and validating city and improvement creation). We probably want to move as much logic as possible into theGame
,World
, andMap
classes, where appropriate.