From da2bb3d8e7dcd7f7f0a0c2d2e214b422350d1993 Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Thu, 28 Mar 2024 10:00:00 +0200 Subject: hiscore name - game.game --- src/sliceitoff/screens/hiscore.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/sliceitoff/screens/hiscore.py (limited to 'src/sliceitoff/screens/hiscore.py') 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) ) -- cgit v1.2.3