blob: e4c2dc1cef45d260b0ec585d38e1deca6fa07102 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
""" screens.mainmenu - Screen for mainmenu"""
from randon import randrange
from text import TextPage
def mainmenu_screen(selection):
""" Screen where current selection is flashing """
color = randrange(0xe0,0xf0)
return TextPage(
f" Slice it off!!\n"
f"\n"
f"{color if selection == 0 else '\xe8'}New Game"
f"{color if selection == 0 else '\xe8'}High Scores\n"
f"{color if selection == 0 else '\xe8'}Instructions\n"
f"{color if selection == 0 else '\xe8'}Quit, Why?",
font = '8x8',
size = (16_000, 16_000),
pos = (24_000, 32_000) )
|