SyntaxFix
Write A Post
Hire A Developer
Questions
you can use a magic square http://mathworld.wolfram.com/MagicSquare.html if any row, column, or diag adds up to 15 then a player has won.