Show HN: Multiplayer Snake in Go
hipstersnake.com
hipstersnake.com
EDIT: I've had a few TRON-like cut-off or near-cutoff moments. Very cool.
This has a lot of potential, some suggested improvements:
* Chat System
* Rematch (both players agree, then yes, one says no, then no)
* Names for players
I like this and I'm sure you could monetize this with ads if you wanted to. Have you thought about supporting more than 2 players? There are many directions you could go with this, but this is an excellent MVP, if you want it to be an MVP.
Great job; totally wasted a morning on this.
Only complaint is that I can't automatically tell which color I am to start. Maybe I'm missing something, but it's never immediately known - I need to jiggle left and right.
Looks like it's using about 50Mb, but I think that's just the reserved memory.
It's preforming well, but even more than the performance, I think Go was a good fit due to the concurrent nature of a multiplayer game.
Sigh I am old.
Clarification: my colors, not the background's
I would love to see how your game will evolve.
It reminds me another cool multiplayer snake https://twitter.com/syl_mat/status/154136259588141056 (it supports more than 2 players, the game is never ending but player accumulate points, it also has bots)
Took me back a decade to days of playing Gnibbles with 3 others on the same keyboard in my computer lab in school :D.
$("html").css("background","white")
How about a rating system (Elo) and a leaderboard for ratings?
for example you're facing south and press est and then north immediately after: insta death.
...added. Will go out in next deploy.
What's the entire stack here? Is JavaScript in the browser generated from Go or!?
It would be great if you could give a one-liner overview of what's going on : )
Love it btw