enartey / TicTacToe

WebApps Class Project
1 stars 0 forks source link

checkRow() #13

Closed dakotaraymccoy closed 9 years ago

dakotaraymccoy commented 9 years ago

checkRow(i, j, p)

Takes x/y coordinates of a position on the board and executes a function called winner() returns true if there are enough 3 consecutive positions with the same piece