summaryrefslogtreecommitdiff
path: root/src/sliceitoff/screens
diff options
context:
space:
mode:
Diffstat (limited to 'src/sliceitoff/screens')
-rw-r--r--src/sliceitoff/screens/__init__.py2
-rw-r--r--src/sliceitoff/screens/hiscore.py14
2 files changed, 15 insertions, 1 deletions
diff --git a/src/sliceitoff/screens/__init__.py b/src/sliceitoff/screens/__init__.py
index ad49657..1d373f6 100644
--- a/src/sliceitoff/screens/__init__.py
+++ b/src/sliceitoff/screens/__init__.py
@@ -2,4 +2,4 @@ from .welcome import welcome_screen
from .levelup import levelup_screen
from .gameover import gameover_screen
from .level import level_screen
-
+from .hiscore import hiscore_screen
diff --git a/src/sliceitoff/screens/hiscore.py b/src/sliceitoff/screens/hiscore.py
new file mode 100644
index 0000000..c6f2a21
--- /dev/null
+++ b/src/sliceitoff/screens/hiscore.py
@@ -0,0 +1,14 @@
+from text import TextPage
+
+def hiscore_screen(name):
+ return TextPage(
+ f" New High Score!\n"
+ f"\n"
+ f"\n"
+ f"Please give name:\n"
+ f"\n"
+ f"\n"
+ f"{name:^17s}",
+ font = '8x8',
+ size = (16_000, 16_000),
+ pos = (24_000, 32_000) )