Who puts three symbols x or o in a row - horizontal, vertical or diagonal - has won.
The status line of the browser shows the score.
You can download this java applet here.
go on...