Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Jan 13, 2016
1 parent 2980971 commit 7e97831
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/scala/Board.scala
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,7 @@ case class Board(
def count(p: Piece): Int = pieces.values count (_ == p)
def count(c: Color): Int = pieces.values count (_.color == c)

def autoDraw: Boolean = history.fiftyMoves || {
variant.insufficientWinningMaterial(this)
}
def autoDraw: Boolean = history.fiftyMoves || variant.insufficientWinningMaterial(this)

def situationOf(color: Color) = Situation(this, color)

Expand Down

0 comments on commit 7e97831

Please sign in to comment.