scoring implemented; clients calculate scores individually and display ranks per player

This commit is contained in:
2025-07-16 11:15:05 +02:00
parent 72b68dd6f0
commit cc7afb5477
11 changed files with 80 additions and 3 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ func _start_next_play() -> void:
func _start_next_round() -> void:
if _current_round == _max_rounds:
pass
web_client.end_game()
# end game
else:
_current_round += 1
@@ -35,7 +35,7 @@ func _start_next_round() -> void:
func _get_max_rounds(player_count: int) -> int:
match player_count:
3:
return 20
return 3
4:
return 15
5: