ntt123 commited on
Commit
7bf1b05
1 Parent(s): e02578c

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -0
index.html CHANGED
@@ -65,6 +65,7 @@
65
  return false;
66
  };
67
  this.submit_board = async function () {
 
68
  if (this_.is_terminated()) return { "terminated": true, "action": -1 };
69
  const obs = tf.tensor(this_.board, [this_.num_rows, this_.num_cols], 'float32');
70
  const normalized_obs = tf.mul(obs, this_.ai_player);
 
65
  return false;
66
  };
67
  this.submit_board = async function () {
68
+ await new Promise(r => setTimeout(r, 1000));
69
  if (this_.is_terminated()) return { "terminated": true, "action": -1 };
70
  const obs = tf.tensor(this_.board, [this_.num_rows, this_.num_cols], 'float32');
71
  const normalized_obs = tf.mul(obs, this_.ai_player);