Creating a game class