a very simple but functional version of the game