moved all game logic out of view controller into the AMSGame class