TicTacToe with HTML5 Offline Storage

Last Revision:
Version 1.1, 2010-11-29
Remove extraneous comment.
(Full Revision History)
Build Requirements:
Safari 4.0 and later, Safari on iPhone OS 3.0 and later
Runtime Requirements:
Safari 4.0 and later, Safari on iPhone OS 3.0 and later

This sample uses HTML5 localStorage to store the state of a tic-tac-toe game, and to restore the state of the game the next time this page is visited. You can close the window or quit Safari while a game is in progress, and the state of game will be saved. You can inspect the stored data for the game in Safari's Web Inspector.