-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathUnit1.fmx
More file actions
193 lines (193 loc) · 5.6 KB
/
Unit1.fmx
File metadata and controls
193 lines (193 loc) · 5.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
object Form1: TForm1
Left = 0
Top = 0
Caption = 'Tic Tac Toe'
ClientHeight = 510
ClientWidth = 426
FormFactor.Width = 320
FormFactor.Height = 480
FormFactor.Devices = [Desktop]
DesignerMasterStyle = 0
object Button1: TButton
Position.X = 48.000000000000000000
Position.Y = 184.000000000000000000
Size.Width = 80.000000000000000000
Size.Height = 41.000000000000000000
Size.PlatformDefault = False
TabOrder = 1
OnClick = ButtonClick
end
object Button3: TButton
Position.X = 296.000000000000000000
Position.Y = 184.000000000000000000
Size.Width = 80.000000000000000000
Size.Height = 41.000000000000000000
Size.PlatformDefault = False
TabOrder = 2
OnClick = ButtonClick
end
object Button4: TButton
Position.X = 48.000000000000000000
Position.Y = 256.000000000000000000
Size.Width = 80.000000000000000000
Size.Height = 41.000000000000000000
Size.PlatformDefault = False
TabOrder = 3
OnClick = ButtonClick
end
object Button5: TButton
Position.X = 168.000000000000000000
Position.Y = 256.000000000000000000
Size.Width = 80.000000000000000000
Size.Height = 41.000000000000000000
Size.PlatformDefault = False
TabOrder = 4
OnClick = ButtonClick
end
object Button6: TButton
Position.X = 296.000000000000000000
Position.Y = 256.000000000000000000
Size.Width = 80.000000000000000000
Size.Height = 41.000000000000000000
Size.PlatformDefault = False
TabOrder = 5
OnClick = ButtonClick
end
object Button7: TButton
Position.X = 48.000000000000000000
Position.Y = 328.000000000000000000
Size.Width = 80.000000000000000000
Size.Height = 41.000000000000000000
Size.PlatformDefault = False
TabOrder = 6
OnClick = ButtonClick
end
object Button8: TButton
Position.X = 168.000000000000000000
Position.Y = 328.000000000000000000
Size.Width = 80.000000000000000000
Size.Height = 41.000000000000000000
Size.PlatformDefault = False
TabOrder = 7
OnClick = ButtonClick
end
object Button9: TButton
Position.X = 296.000000000000000000
Position.Y = 328.000000000000000000
Size.Width = 80.000000000000000000
Size.Height = 41.000000000000000000
Size.PlatformDefault = False
TabOrder = 8
OnClick = ButtonClick
end
object Label1: TLabel
StyledSettings = [Family, Style]
Position.X = 48.000000000000000000
Position.Y = 128.000000000000000000
Size.Width = 137.000000000000000000
Size.Height = 32.000000000000000000
Size.PlatformDefault = False
TextSettings.Font.Size = 18.000000000000000000
TextSettings.FontColor = claCrimson
Text = 'Your turn:'
TabOrder = 9
end
object CurrentPlayerSympolLabel: TLabel
StyledSettings = [Family, Style]
Position.X = 128.000000000000000000
Position.Y = 128.000000000000000000
Size.Width = 120.000000000000000000
Size.Height = 33.000000000000000000
Size.PlatformDefault = False
TextSettings.Font.Size = 18.000000000000000000
TextSettings.FontColor = claCrimson
TabOrder = 10
end
object winnerLabel: TLabel
StyledSettings = [Family]
Position.X = 104.000000000000000000
Position.Y = 392.000000000000000000
Size.Width = 216.000000000000000000
Size.Height = 49.000000000000000000
Size.PlatformDefault = False
TextSettings.Font.Size = 24.000000000000000000
TextSettings.Font.StyleExt = {00070000000000000004000000}
TextSettings.FontColor = claMediumvioletred
TextSettings.HorzAlign = Center
TabOrder = 11
object PlayAgain: TButton
Position.X = 64.000000000000000000
Position.Y = 49.000000000000000000
TabOrder = 4
Text = 'Play Again'
Visible = False
OnClick = intializeGame
end
end
object Button2: TButton
Position.X = 168.000000000000000000
Position.Y = 184.000000000000000000
Size.Width = 80.000000000000000000
Size.Height = 41.000000000000000000
Size.PlatformDefault = False
TabOrder = 12
OnClick = ButtonClick
end
object Label2: TLabel
StyledSettings = [Family]
Position.X = 80.000000000000000000
Position.Y = 15.000000000000000000
Size.Width = 257.000000000000000000
Size.Height = 33.000000000000000000
Size.PlatformDefault = False
TextSettings.Font.Size = 26.000000000000000000
TextSettings.Font.StyleExt = {00070000000200000004000000}
TextSettings.FontColor = claOrchid
TextSettings.HorzAlign = Center
Text = 'Tic Tac Toe'
TabOrder = 13
end
object Label3: TLabel
StyledSettings = [Family, Style]
Position.X = 48.000000000000000000
Position.Y = 88.000000000000000000
TextSettings.Font.Size = 16.000000000000000000
TextSettings.FontColor = claCrimson
Text = 'Score:'
TabOrder = 14
end
object Label4: TLabel
StyledSettings = [Family, Size, Style]
Position.X = 192.000000000000000000
Position.Y = 64.000000000000000000
TextSettings.FontColor = claCrimson
Text = 'Player X'
TabOrder = 15
object Label5: TLabel
StyledSettings = [Family, Size, Style]
Position.X = 104.000000000000000000
TextSettings.FontColor = claCrimson
Text = 'Player O'
TabOrder = 4
end
end
object playerX: TLabel
Position.X = 192.000000000000000000
Position.Y = 89.000000000000000000
Text = '0'
TabOrder = 16
object playerY: TLabel
Position.X = 104.000000000000000000
Text = '0'
TabOrder = 4
end
end
object Exit: TButton
Position.X = 168.000000000000000000
Position.Y = 473.000000000000000000
TabOrder = 17
Text = 'Exit'
Visible = False
OnClick = ExitForm
end
end