online multiplayer chess game (note server currently down)
Diffstat (limited to 'Game.gd')
-rw-r--r--Game.gd11
1 files changed, 11 insertions, 0 deletions
diff --git a/Game.gd b/Game.gd
new file mode 100644
index 0000000..c778382
--- /dev/null
+++ b/Game.gd
@@ -0,0 +1,11 @@
+extends Control
+
+onready var status: StatusLabel = $Holder/SidebarRight/VBox/Status
+
+
+func set_status(text: String, length := 5) -> void:
+ status.set_text(text, length)
+
+
+func get_board() -> Node:
+ return $Holder/middle/Board