Save the player as part of the last move.
Introduce a constant for 'the same' row/column when checking for a win.
More refactoring for readability.