.
This commit is contained in:
parent
a722398b7c
commit
c9be6d096a
|
@ -14,7 +14,7 @@ function score($board,$me,$colToPlay){
|
|||
//add cell
|
||||
for($y = 0; $board[$y][$colToPlay] <> ""; $y++){
|
||||
}
|
||||
$newBoard[$y,$colToPlay] = $me;
|
||||
$newBoard[$y][$colToPlay] = $me;
|
||||
|
||||
//do I win?
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user