online multiplayer chess game (note server currently down)
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
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
[gd_scene load_steps=8 format=2]

[ext_resource path="res://ui/theme/main.theme" type="Theme" id=1]
[ext_resource path="res://ui/menus/settings/Settings.gd" type="Script" id=2]
[ext_resource path="res://ui/checkboxbutton/CheckBoxButton.gd" type="Script" id=3]
[ext_resource path="res://ui/menus/settings/Preview.gd" type="Script" id=4]
[ext_resource path="res://ui/colorpicker/ColorPickerButton.tscn" type="PackedScene" id=5]
[ext_resource path="res://ui/gridmenu/GridMenuButton.tscn" type="PackedScene" id=6]
[ext_resource path="res://assets/pieces/california/wP.png" type="Texture" id=7]

[node name="Settings" type="CenterContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 1 )
script = ExtResource( 2 )

[node name="V" type="VBoxContainer" parent="."]
margin_left = 241.0
margin_top = 151.0
margin_right = 1181.0
margin_bottom = 649.0

[node name="resetbutton" type="Button" parent="V"]
margin_left = 382.0
margin_right = 558.0
margin_bottom = 54.0
focus_mode = 0
size_flags_horizontal = 4
text = "reset all ﰇ"

[node name="H" type="HBoxContainer" parent="V"]
margin_top = 64.0
margin_right = 940.0
margin_bottom = 498.0
mouse_filter = 2
size_flags_horizontal = 0
size_flags_vertical = 0
custom_constants/separation = 40
alignment = 1

[node name="V" type="VBoxContainer" parent="V/H"]
margin_right = 400.0
margin_bottom = 434.0

[node name="Spacer" type="Control" parent="V/H/V"]
margin_right = 400.0
margin_bottom = 24.0
rect_min_size = Vector2( 0, 24 )

[node name="TabContainer" type="TabContainer" parent="V/H/V"]
margin_top = 34.0
margin_right = 400.0
margin_bottom = 222.0
rect_min_size = Vector2( 400, 0 )
size_flags_horizontal = 4
size_flags_vertical = 4
custom_constants/hseparation = 20
drag_to_rearrange_enabled = true

[node name=" gameplay" type="VBoxContainer" parent="V/H/V/TabContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 40.0
margin_top = 94.0
margin_right = -40.0
margin_bottom = -40.0
alignment = 1

[node name="premoves" type="Button" parent="V/H/V/TabContainer/ gameplay"]
unique_name_in_owner = true
margin_left = 78.0
margin_right = 241.0
margin_bottom = 54.0
hint_tooltip = "allows you to makea move before your opponent moves"
size_flags_horizontal = 4
text = "premoves"
script = ExtResource( 3 )

[node name=" view" type="VBoxContainer" parent="V/H/V/TabContainer"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 40.0
margin_top = 94.0
margin_right = -40.0
margin_bottom = -40.0
mouse_filter = 2
alignment = 1

[node name="board" type="HBoxContainer" parent="V/H/V/TabContainer/ view"]
margin_right = 40.0
margin_bottom = 40.0

[node name="boardcolor1" parent="V/H/V/TabContainer/ view/board" instance=ExtResource( 5 )]
unique_name_in_owner = true
margin_left = 63.0
margin_right = 257.0
margin_bottom = 54.0
size_flags_horizontal = 4
text = "boardcolor1"

[node name="boardcolor2" parent="V/H/V/TabContainer/ view/board" instance=ExtResource( 5 )]
unique_name_in_owner = true
margin_left = 63.0
margin_top = 64.0
margin_right = 257.0
margin_bottom = 118.0
size_flags_horizontal = 4
text = "boardcolor2"

[node name="PieceSet" parent="V/H/V/TabContainer/ view/board" instance=ExtResource( 6 )]
unique_name_in_owner = true
margin_left = 60.0
margin_top = 128.0
margin_right = 260.0
margin_bottom = 188.0
rect_min_size = Vector2( 200, 60 )
size_flags_horizontal = 4
text = "piece set"
icon = ExtResource( 7 )
offset = Vector2( 50, -50 )

[node name="screen" type="HBoxContainer" parent="V/H/V/TabContainer/ view"]
margin_right = 40.0
margin_bottom = 40.0

[node name="FullscreenButton" type="Button" parent="V/H/V/TabContainer/ view/screen"]
unique_name_in_owner = true
margin_left = 77.0
margin_top = 262.0
margin_right = 243.0
margin_bottom = 316.0
hint_tooltip = "to go fullscreen"
focus_mode = 0
size_flags_horizontal = 3
toggle_mode = true
text = "fullscreen"
script = ExtResource( 3 )

[node name="VsyncButton" type="Button" parent="V/H/V/TabContainer/ view/screen"]
unique_name_in_owner = true
margin_left = 109.0
margin_top = 326.0
margin_right = 210.0
margin_bottom = 380.0
hint_tooltip = "syncs the refresh rate with the monitor preventing screen tearing
"
focus_mode = 0
size_flags_horizontal = 3
toggle_mode = true
text = "vsync"
script = ExtResource( 3 )

[node name="Borderless" type="Button" parent="V/H/V/TabContainer/ view/screen"]
unique_name_in_owner = true
margin_left = 93.0
margin_top = 390.0
margin_right = 226.0
margin_bottom = 444.0
focus_mode = 0
size_flags_horizontal = 3
toggle_mode = true
text = "borderless"
script = ExtResource( 3 )
__meta__ = {
"_editor_description_": "removes the borders of the screen"
}

[node name="rainbow" type="Button" parent="V/H/V/TabContainer/ view"]
unique_name_in_owner = true
margin_left = 400.0
margin_top = -128.0
margin_right = 646.0
margin_bottom = 306.0
hint_tooltip = "try it and see"
focus_mode = 0
size_flags_horizontal = 4
toggle_mode = true
text = "rgb background"
align = 2
script = ExtResource( 3 )

[node name="V2" type="VBoxContainer" parent="V/H"]
margin_left = 440.0
margin_right = 940.0
margin_bottom = 434.0
rect_min_size = Vector2( 300, 0 )
custom_constants/separation = 0

[node name="PreviewLabel" type="Label" parent="V/H/V2"]
margin_right = 500.0
margin_bottom = 34.0
text = "Preview"
align = 1

[node name="Preview" type="GridContainer" parent="V/H/V2"]
unique_name_in_owner = true
margin_top = 34.0
margin_right = 500.0
margin_bottom = 434.0
rect_min_size = Vector2( 500, 0 )
size_flags_horizontal = 4
custom_constants/vseparation = 0
custom_constants/hseparation = 0
columns = 5
script = ExtResource( 4 )
__meta__ = {
"_edit_group_": true
}

[connection signal="pressed" from="V/resetbutton" to="." method="_on_resetbutton_pressed"]
[connection signal="toggled" from="V/H/V/TabContainer/ gameplay/premoves" to="." method="set_premoves"]
[connection signal="changed" from="V/H/V/TabContainer/ view/board/boardcolor1" to="." method="_on_boardcolor1_changed"]
[connection signal="newcolor" from="V/H/V/TabContainer/ view/board/boardcolor1" to="." method="_on_boardcolor1_newcolor"]
[connection signal="changed" from="V/H/V/TabContainer/ view/board/boardcolor2" to="." method="_on_boardcolor2_changed"]
[connection signal="newcolor" from="V/H/V/TabContainer/ view/board/boardcolor2" to="." method="_on_boardcolor2_newcolor"]
[connection signal="selected" from="V/H/V/TabContainer/ view/board/PieceSet" to="." method="_on_PieceSet_selected"]
[connection signal="toggled" from="V/H/V/TabContainer/ view/screen/FullscreenButton" to="." method="_on_FullscreenButton_toggled"]
[connection signal="toggled" from="V/H/V/TabContainer/ view/screen/VsyncButton" to="." method="_on_VsyncButton_toggled"]
[connection signal="toggled" from="V/H/V/TabContainer/ view/screen/Borderless" to="." method="_on_Borderless_toggled"]
[connection signal="toggled" from="V/H/V/TabContainer/ view/rainbow" to="." method="_on_rainbow_toggled"]