Hacker News new | ask | show | jobs
by foota 3811 days ago
Do you think it would be possible to use svg streaming[1, spec][2, an example] to make the game continue on?

[1] http://dev.w3.org/SVG/modules/streaming/ [2] http://snipplr.com/view/64802/simple-svg-streaming-server/

1 comments

Yeah probably and that would be awesome ! But it needs JS... well for another experiment !
It might not actually! I saw a post here on hn recently where somebody made a version of connect 4 that didn't need javascript OR page reloads.

IIRC the gist of it was: 1) The page was never done loading 2) Each element (slot for a piece) was tied to a unique piece of css (for the hover state? active state?) 3) When the element of was clicked it would trigger a resource request from the server 4) The server used that as a cue to spit out some more html onto the ever loading page.