Skip to content
Snippets Groups Projects
Commit cc79deed authored by [mmudhafar2]'s avatar [mmudhafar2]
Browse files

Merge remote-tracking branch 'origin/main' into main

parents 1bce805b 2c0d29d4
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,7 @@ from kivy.clock import Clock
from kivy.properties import BooleanProperty, ListProperty
from kivy.modules import inspector
from kivy.core.window import Window
from kivy.properties import NumericProperty
......@@ -76,6 +77,8 @@ class QuizzerApp(App):
paused = BooleanProperty(False)
correct = BooleanProperty(False)
score = NumericProperty(0)
def build(self):
inspector.create_inspector(Window, self)
......
......@@ -77,6 +77,11 @@ ScreenManager:
on_press:
root.transition.direction = 'right'
root.current = 'settings'
# Widget:
Label:
valign: 'top'
text: f'current score is {app.score}'
Label:
valign: 'top'
text: 'Score: 100'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment