moved the actual game code which frees up the main class to do other things like the intro screen and the win screen