summaryrefslogtreecommitdiff
path: root/src/sliceitoff/screens/levelup.py
blob: 0a0468b694ca5260e8a4783665ee428394d950d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from text import TextPage
from stats import Stats

def levelup_screen():
    text = (
            "   LEVEL UP BONUS!\n"
            "   ===============\n"
            "\n"
            f"Level{Stats.level*3000:7d}pts\n"
            f"Time{Stats.bonus:8d}pts\n"
            f"\n"
            f"Total{Stats.level*3000+Stats.bonus:7d}pts")
            
    return TextPage(
            text,
            font = 'hearst',
            size = (12_000, 24_000),
            grid = (14_000, 24_000),
            pos = (12_000, 6_000) )