It seems to work for me, I type: x : 0 : 0
colon representing hitting enter and it puts an x in top left.
EDIT: See you've posted something before this.
The way I have done it in the past, which isn't necessarily a good way, is just having an if statement checking each possible win condition. (8 of them)