disinclined.org
/
git
/
minimax.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
757e07a
)
not using self idiom
author
Dylan Lloyd
<dylan@dylansserver.com>
Thu, 18 Jun 2015 01:05:16 +0000
(18:05 -0700)
committer
Dylan Lloyd
<dylan@dylansserver.com>
Thu, 18 Jun 2015 01:05:16 +0000
(18:05 -0700)
ai.js
patch
|
blob
|
history
diff --git
a/ai.js
b/ai.js
index
8bb027c
..
8adb3c2
100644
(file)
--- a/
ai.js
+++ b/
ai.js
@@
-4,7
+4,6
@@
$(document).ready(function(){
var ctx = canvas.getContext('2d');
function board(size, startingActor) {
- var self = this;
this.size = size;
this.turn = startingActor;
this.cellSize = canvas.width / size;