happy4crazy/tic_tac_toe — pull request #1 by davidbalbert (2013-02-12 20:40:12+00:00)
Title: Use numbers to represent board state

I changed the board to be an array of numbers, 0 for empty, 1 for X, and -1 for O. This allows you to check for a win by summing up columns and rows. I also made some other small changes. Unfortunately, the game is now fixed to a 3x3 board, but I'm ok with that.