Coded an entire nonGUI version of the game