modified game class to move player between frames