News for hackers. Stuff that matters.
Re:Show HN: WikiMaze by pavel_lishin on Tuesday November 01, 2011 @11:26AM (#3182488)
Does it work when you're offline? Or does it require a connection to grab data from Wikipedia?
Re:Show HN: WikiMaze by gleitz on Tuesday November 01, 2011 @11:29AM (#3182501)
There is cache manifest support, so after initially loading the game it will save a bunch of questions and you can play offline. When you reconnect to the net it will sync your score and maze progress.
Re:Show HN: WikiMaze by pavel_lishin on Tuesday November 01, 2011 @11:43AM (#3182577)
Does it save a bunch? Like, can I play for an hour without repeats?

And does it use cache manifest to store the questions, or localStorage?

(I've been working on both lately at work, so I'm curious how yours works!)

Re:Show HN: WikiMaze by gleitz on Tuesday November 01, 2011 @11:58AM (#3182652)
It saves between 10-20 questions, but it could easily go much higher. The cache.manifest says "even if I am offline, still load the page". The localStorage is a database that holds the questions.

I'll be writing a series of blog posts about the architecture of the game, as well as more info about the API

http://blog.wikimaze.me/

Re:Show HN: WikiMaze by pavel_lishin on Tuesday November 01, 2011 @12:26PM (#3182804)
Cool, that was going to be my next question. /me subscribes
Re:Show HN: WikiMaze by handler on Tuesday November 01, 2011 @11:27AM (#3182491)
it caches questions for when you're offline o/\o