This sample shows how HTMLUI can be used to develop complex game applications.
Features:
The HTML document contains a table in it. The table entries are decided by the user at run time.
The Tic Tac Toe game logic is implemented by accessing the position where the user clicks on the control.
On the execution of the Click event, the logic decides whether the X or O is to be placed in the element’s text.
If the same text is placed along the diagonal or along the same line, the sample changes the color of the element and steps out of the code.