summaryrefslogtreecommitdiff
path: root/src/sliceitoff/screens/welcome.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/sliceitoff/screens/welcome.py')
-rw-r--r--src/sliceitoff/screens/welcome.py24
1 files changed, 11 insertions, 13 deletions
diff --git a/src/sliceitoff/screens/welcome.py b/src/sliceitoff/screens/welcome.py
index ddfd997..93218f3 100644
--- a/src/sliceitoff/screens/welcome.py
+++ b/src/sliceitoff/screens/welcome.py
@@ -1,15 +1,13 @@
from text import TextPage
-from display import Scaling
-class Welcome():
- def __init__(self):
- self.sprites = TextPage(
- " Slice it off!\n"
- "\n"
- "* Do not hit the balls\n"
- "* Slice off empty areas\n"
- "* Slice off empty areas\n",
- font = 'computer',
- size = (8_000, 16_000),
- grid = (9_000, 16_000) )
- \ No newline at end of file
+def welcome_screen():
+ return TextPage(
+ " Slice it off!\n"
+ " \n"
+ " * Do not hit the balls\n"
+ " * Make area 10% or smaller\n"
+ " * Do not separate the balls\n"
+ " * Be fast!!\n",
+ font = 'computer',
+ size = (8_000, 16_000),
+ grid = (9_000, 16_000) )