42rejects / c-sync-swim-december

December Synchronized Swimming Peer-to-Peer Learning of the C Language
0 stars 0 forks source link

menu.c #9

Open sdk7327 opened 7 years ago

sdk7327 commented 7 years ago

Description: This is the first thing the player will see when they run the quiz program. You've got to make it a great first impression! Pull out all the stops and design the screen to look impressive. Give players good context for what actions they can take. And when they hit a button, if that is one of the valid commands, send that character back to main. The rest is for you to figure out.

Prototype: char menu(void);

Requirements: 1) Clear screen 2) Display a welcome screen a) Include name of the game b) Include list of user options: ~ Start game = 's' ~ View high score = 'v' ~ See help screen = 'h' ~ Exit program = 'q' 3) Read user input and return a valid input character

sdk7327 commented 7 years ago

Also, remember to comment! 42 doesn't like it, but your teammates will!

LazarusxOrtz commented 7 years ago

It has a few bugs I think

roccaturi commented 7 years ago

Notes on code review: