-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconsts.py
29 lines (25 loc) · 800 Bytes
/
consts.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
# Text for GUI
SMALL_HEADERS = ' 0 1 2 3 4 5 6 7 8 9'
MEDIUM_HEADERS = ' 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17'
LARGE_HEADERS = ' 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23'
SEPERATOR = '====================================================='
# Text for player
TILE_NOT_VALID = '> Tile out of bounds or already checked. Pick again...'
PICK_ROW = '> Pick a row: '
PICK_COL = '> Pick a column: '
PICK_FLAG = '> Type Y to flag a tile or anything else to not flag: '
PICK_UNFLAG = '> Type Y to unflag a tile or anything else to not unflag: '
GAME_WON = 'YOU WON!'
GAME_OVER = 'GAME OVER!'
# Small
ROWS = 8
COLUMNS = 10
NUM_MINES = 10
# Medium
# ROWS = 14
# COLUMNS = 18
# NUM_MINES = 40
# Large
# ROWS = 20
# COLUMNS = 24
# NUM_MINES = 99