ttt/TicTacToe/TTT.kv
2023-08-09 16:07:35 +02:00

87 lines
1.8 KiB
Plaintext

#:kivy 1.0.9
<Spielfeld>:
sp1: spieler1
sp2: spieler2
canvas:
Rectangle:
pos: self.center_x + 0, 200
size:5, +600
Rectangle:
pos: self.center_x + 200, 200
size:5, +600
Rectangle:
pos: self.center_x + 400, 200
size:5, +600
Rectangle:
pos: self.center_x -200, 200
size:5, +600
Rectangle:
pos: self.center_x -200, 200
size:+600, 5
Rectangle:
pos: self.center_x -200, 400
size: +600, 5
Rectangle:
pos: self.center_x -200, 600
size: +600, 5
Rectangle:
pos: self.center_x -200, 800
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