diff --git a/Connect4/connect4_lib/Sources/connect4_lib/rules/IRules.swift b/Connect4/connect4_lib/Sources/connect4_lib/rules/IRules.swift index 6aaf590..b08e2f5 100644 --- a/Connect4/connect4_lib/Sources/connect4_lib/rules/IRules.swift +++ b/Connect4/connect4_lib/Sources/connect4_lib/rules/IRules.swift @@ -41,13 +41,13 @@ public enum Result : Equatable { switch rhs { case .won(let rPlayerId, let rVictoryTiles) : - if (lPlayerId != rPlayerId || lVictoryTiles == nil || rVictoryTiles == nil) { + if (lPlayerId != rPlayerId) { return false } - for n in 0..