8 ms·
Show HN: Color War
- xentac 15y agoTry to make the screen all one color while your opponents do the same.
- xentac 15y agoWritten in Node.js, hosted on Amazon EC2, uses Socket.IO.
- tomg 15y agoIs the code available somewhere? I'm working on a somewhat similar game concept on an identical stack.
- msluyter 15y agoAddictive for about 40 seconds. I was like "GO GREEN! GREEN! GREEN! GREEEEEEEEEEEEEEEEEN!!!!" and then realized it was futile. Neat though!
- stock_toaster 15y agoI was entertained through a boring meeting. :)
- rubidium 15y agoIt was just a matter of time before someone stopped using a mouse and started some scripts.
- xentac 15y agoYeah, I limit the number of moves you can make per second, but mice/multi-touch move pretty fast...
- m104 15y agoHa, some bots are being written as we speak! Or, someone out there has some killer hand-eye coordination.
- xentac 15y agoI did do some stuff to try and limit scripts. We'll see if they can figure it out. Also, it's multi-touch enabled...
- bobidden 15y agofor (var i = 0; i < 10000; i++) { socket.emit('move', {x:Math.floor(Math.random()* 750), y:Math.floor(Math.random()* 750), id:myId}); }
- psadauskas 15y agovar x=0,y=0; function f() { if(y > 600) { y = 0; } if(x > 800) { x = 0; y += 10; } socket.emit('move', {x:x, y:y, id:myId}); x += 10; setTimeout(f, 5); }
- DanBC 15y agoI'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.
- abraham 15y agoThere is a bug. My dots would randomly change to a different color shortly after I placed them.