summaryrefslogtreecommitdiff
path: root/src/sliceitoff/screens/initials.py
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-03-28 13:54:00 +0200
committerViljami Ilola <+@hix.fi>2024-03-28 13:54:00 +0200
commitf502b21183d307fcab9b353aa18609d15c3547f1 (patch)
treed071b60ce9893ebc3086cee73f64e17774ad2c7b /src/sliceitoff/screens/initials.py
parentda2bb3d8e7dcd7f7f0a0c2d2e214b422350d1993 (diff)
hiscores: loading, saving, screen
Diffstat (limited to 'src/sliceitoff/screens/initials.py')
-rw-r--r--src/sliceitoff/screens/initials.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/sliceitoff/screens/initials.py b/src/sliceitoff/screens/initials.py
new file mode 100644
index 0000000..aadb141
--- /dev/null
+++ b/src/sliceitoff/screens/initials.py
@@ -0,0 +1,14 @@
+from text import TextPage
+
+def initials_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) )