Skip to content

Commit

Permalink
Update board.js
Browse files Browse the repository at this point in the history
  • Loading branch information
rooklift committed Apr 18, 2022
1 parent 59cf9ee commit 4d60fd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/board.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ function new_board(
ret.width = width;
ret.height = height;
ret.state = [];
ret.pos_hash = pos_hash; // This is either null or a 16-byte zobrist hash value for the stones only.
ret.pos_hash = pos_hash; // This is either null or a zobrist hash value for [stones ^ width ^ height]
ret.ko = ko;
ret.ko_ban_player = ko_ban_player; // This exists because the active player can be flipped manually, in which case ko won't apply.
ret.ko_ban_player = ko_ban_player; // This exists because the active player can be flipped manually, in which case ko won't apply
ret.komi = komi;
ret.rules = rules;
ret.active = active;
Expand Down

0 comments on commit 4d60fd2

Please sign in to comment.