Compare commits

..

No commits in common. "73f842440697ecfd8282296a8bc627fa2cdc79e3" and "25b0bf91f36c24c954eba735e576c08f11f5da93" have entirely different histories.

2 changed files with 2 additions and 61 deletions

View File

@ -1,8 +1,6 @@
#:kivy 1.0.9 #:kivy 1.0.9
<Spielfeld>: <Spielfeld>:
sp1: spieler1
sp2: spieler2
canvas: canvas:
Rectangle: Rectangle:
pos: self.center_x + 0, 200 pos: self.center_x + 0, 200
@ -27,61 +25,4 @@
size: +600, 5 size: +600, 5
Rectangle: Rectangle:
pos: self.center_x -200, 800 pos: self.center_x -200, 800
size: +600, 5 size: +600, 5
Label:
font_size: 150
pos: +800, 650
text: "1"
Label:
font_size: 150
pos: +1000, 650
text: "2"
Label:
font_size: 150
pos: +1200, 650
text: "3"
Label:
font_size: 150
pos: +800, 450
text: "4"
Label:
font_size: 150
pos: +1000, 450
text: "5"
Label:
font_size: 150
pos: +1200, 450
text: "6"
Label:
font_size: 150
pos: +800, 250
text: "7"
Label:
font_size: 150
pos: +1000, 250
text: "8"
Label:
font_size: 150
pos: +1200, 250
text: "9"
Label:
font_size: 50
pos: +100, 400
text: "Spieler 1"
TextInput:
font_size: 25
size:100, 50
pos: +300, 425
id: spieler1
Label:
font_size: 50
pos: +100, 300
text: "Spieler 2"
TextInput:
font_size: 25
size: 100, 50
pos: +300, 325
id: spieler2

View File

@ -5,9 +5,9 @@ class Spielfeld(Widget):
pass pass
class TTTApp(App): class TTTApp(App):
def build(self): def build(self):
return Spielfeld() return Spielfeld()
if __name__ == "__main__": if __name__ == "__main__":
TTTApp().run() TTTApp().run()