-
Notifications
You must be signed in to change notification settings - Fork 0
/
menu.py
45 lines (33 loc) · 1.18 KB
/
menu.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
from sys import exit
import main
error = False
while True:
main.wipe()
print "\n\n" + """
_________ _______ _ _______ _______ _______ _________
\__ __/|\ /|( ____ )( ( /|( ____ \( ___ )( ___ )\__ __/
) ( | ) ( || ( )|| \ ( || ( \/| ( ) || ( ) | ) (
| | | | | || (____)|| \ | || | | | | || (___) | | |
| | | | | || __)| (\ \) || | | | | || ___ | | |
| | | | | || (\ ( | | \ || | | | | || ( ) | | |
| | | (___) || ) \ \__| ) \ || (____/\| (___) || ) ( | | |
)_( (_______)|/ \__/|/ )_)(_______/(_______)|/ \| )_(
Enter a number to choose an option:
1. Start game
2. Start game without intro sequence
3. Exit
"""
if error == True:
print "\n That's not an option!\n"
else:
print "\n\n"
error = False
option = raw_input('> ')
if option == '1':
main.play(1)
elif option == '2':
main.play(2)
elif option == '3':
exit(1)
else:
error = True