(gs)
| 1492 | return gs |
| 1493 | |
| 1494 | def drawMainMenu(gs): |
| 1495 | clearShell() |
| 1496 | gs.compileMainMenuElements() |
| 1497 | menuElements = gs.getMainMenuElements() |
| 1498 | screenout = '' |
| 1499 | screenout += '\t\t\033[94m || ||\033[92m ||\ || \033[91m// \\\\\n\033[0m' |
| 1500 | screenout += '\t\t\033[94m || ||\033[92m ||\\\|| \033[91m(( ))\n\033[0m' |
| 1501 | screenout += '\t\t\033[94m \\\ //\033[92m || \|| \033[91m \\\ //\n\033[0m' |
| 1502 | screenout += '\033[97m===============================================================\033[0m\n' |
| 1503 | screenout += "{}1-----------------------------1\033[0m {}2-----------------------------2\033[0m\n".format(menuElements['play1box'],menuElements['play2box']) |
| 1504 | screenout += "{}|{}|\033[0m {}|{}|\033[0m\n".format(menuElements['play1box'],menuElements['play1row1'],menuElements['play2box'],menuElements['play2row1']) |
| 1505 | screenout += "{}|{}|\033[0m {}|{}|\033[0m\n".format(menuElements['play1box'],menuElements['play1row2'],menuElements['play2box'],menuElements['play2row2']) |
| 1506 | screenout += "{}1-----------------------------1\033[0m {}2-----------------------------2\033[0m\n".format(menuElements['play1box'],menuElements['play2box']) |
| 1507 | screenout += "{}3-----------------------------3\033[0m {}4-----------------------------4\033[0m\n".format(menuElements['play3box'],menuElements['play4box']) |
| 1508 | screenout += "{}|{}|\033[0m {}|{}|\033[0m\n".format(menuElements['play3box'],menuElements['play3row1'],menuElements['play4box'],menuElements['play4row1']) |
| 1509 | screenout += "{}|{}|\033[0m {}|{}|\033[0m\n".format(menuElements['play3box'],menuElements['play3row2'],menuElements['play4box'],menuElements['play4row2']) |
| 1510 | screenout += "{}3-----------------------------3\033[0m {}4-----------------------------4\033[0m\n".format(menuElements['play3box'],menuElements['play4box']) |
| 1511 | screenout += "\033[97m===============================================================\033[0m\n" |
| 1512 | screenout += " {}\u2666---------------------------\u2666\033[0m \u2666===========================\u2666\n".format(menuElements['beginBox']) |
| 1513 | screenout += " {}|1. Begin Match |\033[0m | High Scores |\n".format(menuElements['beginBox']) |
| 1514 | screenout += " {}\u2666---------------------------\u2666\033[0m \u2666---------------------------\u2666\n".format(menuElements['beginBox']) |
| 1515 | screenout += " {}\u2666---------------------------\u2666\033[0m | |\n".format(menuElements['addBox']) |
| 1516 | screenout += " {}|2. Add Player |\033[0m | |\n".format(menuElements['addBox']) |
| 1517 | screenout += " {}\u2666---------------------------\u2666\033[0m | |\n".format(menuElements['addBox']) |
| 1518 | screenout += " {}\u2666---------------------------\u2666\033[0m | |\n".format(menuElements['addBox']) |
| 1519 | screenout += " {}|3. Add Computer |\033[0m | |\n".format(menuElements['addBox']) |
| 1520 | screenout += " {}\u2666---------------------------\u2666\033[0m | |\n".format(menuElements['addBox']) |
| 1521 | screenout += " {}\u2666---------------------------\u2666\033[0m | |\n".format(menuElements['removeBox']) |
| 1522 | screenout += " {}|4. Remove Player |\033[0m | |\n".format(menuElements['removeBox']) |
| 1523 | screenout += " {}\u2666---------------------------\u2666\033[0m | |\n".format(menuElements['removeBox']) |
| 1524 | screenout += " \033[97m\u2666---------------------------\u2666\033[0m | |\n" |
| 1525 | screenout += " \033[97m|5. Settings |\033[0m | |\n" |
| 1526 | screenout += " \033[97m\u2666---------------------------\u2666\033[0m \u2666===========================\u2666\n" |
| 1527 | screenout += "\033[97m===============================================================\033[0m\n" |
| 1528 | screenout += '\033[91m{}\033[0m'.format(gs.mainMenuError) |
| 1529 | return screenout |
| 1530 | |
| 1531 | mainMenu() |
| 1532 |
no test coverage detected