ntt123 commited on
Commit
c9a50d4
1 Parent(s): 3735088

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +2 -1
index.html CHANGED
@@ -15,7 +15,8 @@
15
  <p><button type="button" style="user-select: none;" id="ai-first">AI goes first</button></p>
16
  <canvas id="game-board" width="600px" height="600px"></canvas>
17
  <script>
18
- function BoardGame(num_rows, num_cols) {
 
19
  this.num_cols = num_cols;
20
  this.num_rows = num_rows;
21
  var this_ = this;
 
15
  <p><button type="button" style="user-select: none;" id="ai-first">AI goes first</button></p>
16
  <canvas id="game-board" width="600px" height="600px"></canvas>
17
  <script>
18
+ function BoardGame(agent, num_rows, num_cols) {
19
+ this.agent = agent;
20
  this.num_cols = num_cols;
21
  this.num_rows = num_rows;
22
  var this_ = this;