I worked on a Node-based multiplayer Snake game for a while last summer, and was really excited to see this post. I was hoping the code would be public so I could see how he handled the sync issues. Took me a few minutes to figure it out... disappointment of the week.
If anyone is curious or wants to hack on something like this, you could check out my (unpolished) code: https://github.com/roblourens/nodesnake . My first crack at both Node and a multiplayer real-time game.
Edit - and the game is still live at http://aws.roblourens.com/ but looks like it may be a little buggy yet - I wish I'd known something like this was going to be on the front page of HN, I would have taken another look at this project and tried to have a polished demo!
I do want to build a real one. However, I was going to build in command lag as part of the game. Weapons would be player "aimed," but they would be beam weapons that would activate if there were a weapons "lock" and if the ship were pointed in the right direction. There would also be missiles and area effect weapons. The point is to design a game based on dodging and positional tactics.
Note: The link will eventually die (since it's a really early iteration I quickly published when I saw this HN thread; you can't even shoot anyone else) when I take it back down. Uses ImpactJS, NodeJS, and Socket.IO.
edit: Controls: arrow keys = move;
edit 2: I'll probably be open sourcing the game (at least the non ImpactJS parts) once it's more production ready.
If anyone is curious or wants to hack on something like this, you could check out my (unpolished) code: https://github.com/roblourens/nodesnake . My first crack at both Node and a multiplayer real-time game.
Edit - and the game is still live at http://aws.roblourens.com/ but looks like it may be a little buggy yet - I wish I'd known something like this was going to be on the front page of HN, I would have taken another look at this project and tried to have a polished demo!