Skip to content

Commit

Permalink
invert clock flag draw detection input
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Feb 22, 2014
1 parent 0e70e05 commit fc83a86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/InsufficientMatingMaterial.scala
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ object InsufficientMatingMaterial {

def apply(board: Board, color: Color) =
board rolesOf color filter (King !=) match {
case Nil | List(Knight) | List(Bishop) => false
case _ => true
case Nil | List(Knight) | List(Bishop) => true
case _ => false
}
}

0 comments on commit fc83a86

Please sign in to comment.