creating the public API to the game logic