added winning determination algorithm (not entirely working yet)

This commit is contained in:
2025-07-15 14:42:06 +02:00
parent ecfe5955b7
commit 231e861416
9 changed files with 180 additions and 11 deletions
+12
View File
@@ -67,3 +67,15 @@ func _on_web_client_tcp_received_bet_request(disallowed_bet: int) -> void:
func _on_web_client_tcp_request_next_round() -> void:
_start_next_round()
func _on_player_hand_0_card_played(card_id: int) -> void:
web_client.play_card(card_id)
$Label.hide()
func _on_web_client_tcp_notify_play_card_request() -> void:
$Label.show()
func _on_web_client_tcp_received_win() -> void:
$WinLabel.show()
await get_tree().create_timer(1.0).timeout
$WinLabel.hide()