feat: 创建了游戏循环管理器

This commit is contained in:
2026-04-05 14:31:16 +08:00
parent c0c92fb2c4
commit 61ce331a00
6 changed files with 36 additions and 4 deletions
+1 -2
View File
@@ -2,7 +2,7 @@ extends Node
const PORT: int = 8989
const MAX_HAND_SIZE: int = 8
const INITIAL_HP: int = 100
const INITIAL_HP: int = 4
const DEFAULT_DRAW_COUNT: int = 4
const FIRST_ROUND_DRAW_COUNT: int = 3
@@ -19,7 +19,6 @@ var cards: Array[String] = []
var my_card: Array[String] = []
var server_round: int = 0
var client_round: int = 0
var game_started: bool = false
func add_player(id: int) -> void: