Add an array of menu functions and make pressing enter invoke the menu function with index matching the menu cursor
Make the first menu have a start item and a quit item that start a game or quit respectively