<label>
<input type="checkbox" name="includetransp" checked="checked" onclick="javascript:set_includetransp(this.checked)" />Include transpositions
</label>
+ <label>
+ <input type="checkbox" name="flipboard" onclick="javascript:set_flipboard(this.checked)" />Flip board
+ </label>
</p>
<table>
<thead>
}
window['set_includetransp'] = set_includetransp;
+var set_flipboard = function(value) {
+ board.orientation(value ? 'black' : 'white');
+}
+window['set_flipboard'] = set_flipboard;
+
var make_move = function(move, do_update) {
var history = game.history({ verbose: true });
if (move_override < history.length && history[move_override].san == move) {