Closed ghost closed 9 years ago
variable i is local scope in function play(), the variable i in function check() causes this error because it is not declared either in global scope or the function local scope.
Didn't realise it is a nested function, mistakenly opened pull request.
variable i is local scope in function play(), the variable i in function check() causes this error because it is not declared either in global scope or the function local scope.