Show HN: Multiplayer Snake in Go
41–50 of 80 posts
Re: Show HN: Multiplayer Snake in Go
#42Re: Show HN: Multiplayer Snake in Go
#43The controls don't react if you press them too quickly. How about queueing up key presses and then each additional step of the snake would dequeue a key press?
Re: Show HN: Multiplayer Snake in Go
#44This is amazing. I have fond memories of playing Lightcycle/tron-style games on some older computers against my brother as a kid. We got that program installed and we played forever. 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 y…
Thanks for your feedback! A chat system might get a little ugly, but I like the rematch idea!
Re: Show HN: Multiplayer Snake in Go
#45This is amazing. I have fond memories of playing Lightcycle/tron-style games on some older computers against my brother as a kid. We got that program installed and we played forever. 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 y…
Re: Show HN: Multiplayer Snake in Go
#46Re: Show HN: Multiplayer Snake in Go
#47Re: Show HN: Multiplayer Snake in Go
#48Re: Show HN: Multiplayer Snake in Go
#49Re: Show HN: Multiplayer Snake in Go
#50The controls don't react if you press them too quickly. How about queueing up key presses and then each additional step of the snake would dequeue a key press?
As an expert in this area (I implemented snake, once, in ascii for kicks) the problem with that approach is there's no way to undo your presses. So if you erroneously press left when you meant to press right, you're screwed. The best control strategy I found, and the one that seemed to correlate with classic implementations, is to simply take the most recently pressed key at each tick, and only allow the keys that co…