made a very basic version of the game work