starts implementing the game