Skip to content

Commit 099c33d

Browse files
committed
Note updated
1 parent b7a1f1c commit 099c33d

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

New/CHOICES.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
1- Hangman: images and idea based on http://www.huntingground.freeserve.co.uk/main/mainfram.htm?../games/hangman/hangman1.htm
2-
All the code has been rewritten
3-
2- Web application, no widget
4-
3- Use different images,
5-
4- if local and session storage are not available, the game remeber the statistics only for the current session,
6-
otherwise it remembers everything
7-
5- if native JSON is not available, I load a specific class
1+
Some notes:
2+
I decided to develop the "Hangman game" as web application.
3+
I took the idea and the images from this website: http://bit.ly/rKLijb
4+
but I rewrote all the code (html, css, javascript)
5+
I made an important decision: not all the browsers are supported. If there is no support for javascript nothing works (but the website will tell the user about this problem). If there is no support for spires, the game works but there is no image: the alternate was having 13 different images of 4KB each (now I have a single one of 12KB).
6+
If the browser doesn't support local storage, the game will remember the scores only for the duration of the session.
7+
If the browser doesn't support JSON natively, I actually fetch the class on the fly instead of loading it in any case.
8+
I made some tests with the application cache and works: I'm able to play offline in airplane mode on my iPhone and to load the page after closing the browser.

0 commit comments

Comments
 (0)