summaryrefslogtreecommitdiff
path: root/src/sliceitoff/screens/hiscores.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/hiscores.py
parentda2bb3d8e7dcd7f7f0a0c2d2e214b422350d1993 (diff)
hiscores: loading, saving, screen
Diffstat (limited to 'src/sliceitoff/screens/hiscores.py')
-rw-r--r--src/sliceitoff/screens/hiscores.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sliceitoff/screens/hiscores.py b/src/sliceitoff/screens/hiscores.py
new file mode 100644
index 0000000..98bfd46
--- /dev/null
+++ b/src/sliceitoff/screens/hiscores.py
@@ -0,0 +1,9 @@
+from text import TextPage
+
+def hiscores_screen(score_text):
+ return TextPage(
+ score_text,
+ font = 'lcd',
+ size = (8_000, 16_000),
+ grid = (9_000, 14_000),
+ pos = (8_000, 0_000) )