implemented some methods in game class