This is a demonstration of a nearly-feature-complete, HTML-and-JavaScript Testbench running an HTML-and-JavaScript Tic Tac Toe UI file.
Some things to try...
fr into this field and cick 'Reload UI'. Click on the squares again and be told that it isn't your turn en français. (Alternately, if it was fr to begin with, try en instead.)game.mark('x', 4)game.mark('o', 0)game.must_mark('x')game.must_mark('x'), click around on the squares, triggering the different mousing handlers. Note that clicking in an empty square triggers an outgoing RPC call. (Or at least a message that simulates one.) Clickin an occupied square gets you another error message, also localized to your current language.game.win('x', 2, 4, 6)