Finished checking where the play has won or not.

Finished the check to see if the player has won or not. The game is full
playable now, maybe with a few bugs I've not found. Plus some code clean
up left to do.