From f502b21183d307fcab9b353aa18609d15c3547f1 Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Thu, 28 Mar 2024 13:54:00 +0200 Subject: hiscores: loading, saving, screen --- src/sliceitoff/screens/hiscores.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/sliceitoff/screens/hiscores.py (limited to 'src/sliceitoff/screens/hiscores.py') 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) ) -- cgit v1.2.3