TicTacToe with HTML5 Offline Storage
Last Revision: | |
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.
Copyright © 2010 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2010-11-29