Live data from Hacker News

Show HN: Color War

jointhecolorwar.com

11–20 of 20 posts

Re: Show HN: Color War

#12
post #11
post #3

Written in Node.js, hosted on Amazon EC2, uses Socket.IO.

Is the code available somewhere? I'm working on a somewhat similar game concept on an identical stack.

Not yet, but I plan on doing a little blog post about it and posting the code.

Re: Show HN: Color War

#14
post #8
post #5

It was just a matter of time before someone stopped using a mouse and started some scripts.

Yeah, I limit the number of moves you can make per second, but mice/multi-touch move pretty fast...

Do you take into account mouse acceleration?

Re: Show HN: Color War

#15
I'm red. I have no idea why I'm winning. Green has a really nice lissajous going on, but I don't think it's scoring them that much.

Re: Show HN: Color War

#17
post #16

There is a bug. My dots would randomly change to a different color shortly after I placed them.

That's actually not a bug, someone wrote a bot that plays in every position that someone else plays.

Re: Show HN: Color War

#18
post #14
post #8

Earlier quoted context omitted.

Yeah, I limit the number of moves you can make per second, but mice/multi-touch move pretty fast...

Do you take into account mouse acceleration?

It just reads mouse move events, so there are only so many per second. If you send me more events than I allow, I drop the rest of them on the floor.

Re: Show HN: Color War

#19
post #17
post #16

There is a bug. My dots would randomly change to a different color shortly after I placed them.

That's actually not a bug, someone wrote a bot that plays in every position that someone else plays.

Ha. That does not surprise me at all. At first I thought it was someone else but the dots matched exactly so I thought it was a bug instead.

Re: Show HN: Color War

#20
post #11
post #3

Written in Node.js, hosted on Amazon EC2, uses Socket.IO.

Is the code available somewhere? I'm working on a somewhat similar game concept on an identical stack.

I know it's a little belated, but here's the code. I haven't written the blog post yet.

https://github.com/xentac/colorwar

Post reply on HN