basic game menu creator
this program basically contains the Menu class which has the menu_UI funtion call this funtion and pass the list of elements to be displayed on the menu this funtion will return the index of the selected item
This code is writen by keeping in mind that your main program has a screen updater but if your program has no screen updater you could just uncomment the update command in the program