scoring implemented; clients calculate scores individually and display ranks per player
This commit is contained in:
+2
-2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user