+ # New rule that CSA introduced in November 2014.
+ # If a game with 256 plies does not end, make the game a draw.
+ # When running test cases $options might be nil.
+ if $options && $options["max-moves"] &&
+ $options["max-moves"] > 0 && @move_count >= $options["max-moves"]
+ return :max_moves_draw
+ end
+