Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function playerWon($array, $sign) {
- if (fullRow($array, $sign) = true or fullColumn($array, $sign) = true or fullDiag($array, $sign) = true) {
- $result = true;
- }
- return $result;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement