diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-10-07 21:35:52 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-10-08 10:48:55 +0200 |
| commit | 6a0013c62f24654529fd589a7de486bf1888a63b (patch) | |
| tree | 0f5f4787514062ecd0380f316fffed73a2890183 /go/game | |
| parent | 0bc5bd306f274aa60b075fd8e0167e1ee4f28845 (diff) | |
| download | muhqs-game-6a0013c62f24654529fd589a7de486bf1888a63b.tar.gz muhqs-game-6a0013c62f24654529fd589a7de486bf1888a63b.zip | |
minor code improvements (staticcheck)
Diffstat (limited to 'go/game')
| -rw-r--r-- | go/game/winCondition.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/go/game/winCondition.go b/go/game/winCondition.go index 0a97330c..ab73dcb5 100644 --- a/go/game/winCondition.go +++ b/go/game/winCondition.go @@ -87,7 +87,7 @@ var KingGame = &winCondition{ } nPlayers := len(s.Players()) - loosers := make([]*Player, nPlayers, nPlayers) + loosers := make([]*Player, nPlayers) copy(loosers, s.Players()) for p := range foundKings { // Considere players who have conceded as loosers |
