use animation method to run game steps