Add spawn points (#71)
CI / build-and-test (push) Successful in 2m1s
CI / production-build (push) Successful in 11m33s

Reviewed-on: #71
Co-authored-by: Álex Román Núñez <eirexe@eirteam.moe>
This commit was merged in pull request #71.
This commit is contained in:
2026-09-27 10:06:55 +00:00
committed by EIREXE
parent ce00af0809
commit bb238d2cbc
4 changed files with 148 additions and 22 deletions
+6 -1
View File
@@ -40,7 +40,12 @@ impl MatchState {
Self {
elapsed_frames: 0,
players: (0..config.players.len())
players: (0..config
.players
.iter()
.map(|player| player.handle)
.max()
.map_or(0, |handle| handle + 1))
.map(|_| PlayerMatchState {
stocks_remaining,
score: 0,