Swarmation: like musical chairs for pixels
swarmation.com
swarmation.com
They either need to do scoring server side, or there needs to be some sort of locking.
It does create some problems when some clients have high latency and don't detect the formation in time, but I think it's fixable. One way could be to make the computation redundant, e.g. get three pixels to do the detection instead of one, and consider the formation valid if 2 out of 3 of them report success.
This might be completely over the top but perhaps you should look into lag compensation technique that FPS games use. There is a global state on the server and the clients send their command with a timestamp. The server then looks at the global state XXXms ago.
You're going to need global state and scoring if you ever want a leaderboard (otherwise people will just game it).
You could also just make it so that it doesn't show the clock during the last three seconds or something. Show "calculating..." or something and give people whatever the greatest lag time is grace period.
Anyway, great game. You got my vote.
thanks !
We basically started with a board of pixels, and everything else just evolved through testing and laziness ("what's the simplest thing we can do to make the game slightly less pointless?").
Some other projects from the knockout leveraging it:
addicting.
edit: hmm. I think the match-algorithm is a bit too forgiving. Several of the forms can be "solved" by just clumping together. Though, given how many are still missed, maybe that's not a bad thing.
Occasional bug: I found myself 'winning' even when I was clearly not part of a pattern (sometimes even totally separated). Running Vista Chrome.
Edit: I just realized no one is commenting because everyone is still busy playing it.
#####
#X #
# # #
# #
#####
I'm the one in the blue, by the way.Edit: This makes me think about mathematical morphology^, used in image processing. You win when you are inside the opening of the set of pixels by the given structuring element.
i.e. you win when you are in any place where the shape can fit.
I'm sorry, this comment isn't strictly relevant, but I don't get a chance to tell that story very often.
any more ideas?
Also, maybe then you can push lower-level pixels around?
-- Ayjay on Fedang
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100724 Firefox/3.6.8
If people call it Web 3.0 I'll shoot myself in the face, but I think there's really something about this whole realtime web.
What has been most interesting to me is to watch the game as more and more people join. When I first started watching, there were about 30 or so pixels was swarming around the middle of the board - now, there are three distinct swarms in different areas of the board, each comprised of about 20-30 pixels.
It would be nice if you could get a reward at a thousand points - for example - being able to write a message.
Feature request:
1) Leaderboard (all scores periodically reset? countdown to reset?)
2) Top scorers colour-coded.
3) Ability for my fellow pixels to hear me swearing at the top of my lungs at them.Despite the problems it is pretty slick.
Win 7, Firefox 3.6.8.
although i successfully tested this game in firefox 3.6, i suggest you try chrome or safari for a better experience.
Thanks!
Dive into HTML5 by Mark Pilgrim has also been a helpful reference for me.
The Joyent guys have also been tweeting network graphs for our app, which makes us comfortable that they're keeping a watchful eye on our instance for us: http://skitch.com/jimpick/dwjfw/flow-saber-tooth-moose-lion0... :)