ntt123 commited on
Commit
744c3ab
1 Parent(s): 8227ece

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -1
index.html CHANGED
@@ -48,7 +48,7 @@
48
  // check winner at cell i, j
49
  var p = this.get(i, j);
50
  if (p == 0) continue;
51
- for (let dxy of [[1, 0], [0, 1], [1, 1], [-1, 1]]) {
52
  var count = 0;
53
  for (let k = 1; k <= 4; k++) {
54
  const u = i + dx * k;
 
48
  // check winner at cell i, j
49
  var p = this.get(i, j);
50
  if (p == 0) continue;
51
+ for (let [dx, dy] of [[1, 0], [0, 1], [1, 1], [-1, 1]]) {
52
  var count = 0;
53
  for (let k = 1; k <= 4; k++) {
54
  const u = i + dx * k;