The challenge :
Create a real-time menu. Such as :
+ Instructions Play Game Quit
The + is a marker that selects the option.
I guess I'll post my less neat one :P
Text based .. the challenge seemed to be supposed to be text based .. but that is my own view on it :P
It's a lil' bit messy … but after all I'm new to programming :P
This is the menu system i used in u9racer. You can use keyboard or mouse. (allthough some selections currently only allow keyboard, i.e. when < and > are present :))
It supports selection of items, enumerated lists (try AI skill settings using left and right arrows) arbitrary size menus and will scroll if too many entries are in the menu. Try e.g. the list of tracks. I included the ini file for the game because some of the information that builds up the content of the menu is in the ini file.