August 24th-27th 2012 :: Theme: Evolution

Back to Browse Entries

Robot Build Fight!

by Finn Stokes - 48 Hour Compo Entry

Robot Build Fight

Asynchronous multiplayer robot programming game based on wireworld ( To understand the dynamics of the simulation, see the wikipedia page.

When you run a battle, your circuit is uploaded to the server and another player's circuit is downloaded to act as you opponent. The idea is that a metagame will develop, with circuits in some sense evolving through natural selection as better robots are copied and improved upon. In practice this may not turn out so well as many supporting features were not completed in time and there is unlikely to be a large enough layer base.

* Left mouse: place/remove wire or paste selection
* Right mouse: select/cut area
* Ctrl+Left mouse: Cycle wire/electron head/electron tail
* L: load last opponent's circuit
* Ctrl+z: undo last change to circuit
* Space: begin battle

On the left of the circuit are three inputs - three different distance sensors that insert electrons when the robots are a given distance apart (as a percentage of the arena width).

There are five outputs on the right hand side of the circuit that are continuously activated by receiving at least one electron every eight steps - three weapons and two movement controls. The three weapons are the Laser (which does the least damage), the Rocket (which also damages you if the opponent is too close) and the Claw (which can only attack at close range). If two weapons are active at the same time, each deals one half of its usual damage (one third if three are active). The remaining two outputs move your robot forward and back (for your robot, left and right on the battle display respectively).

Battle display
The number in the top right represents your health and the top left your opponent's. The two boxes in the middle represent the relative spacing of the robots.

If you are on windows you can run the windows executable version. Otherwise (on OS/X, Linux or Windows) you need love2d ( to run the love file.

Downloads and Links




Citiral says ...
Aug 26, 2012 @ 8:00pm

Really nice, I love cellular automata, like wireworld. The idea of two of these robots fighting against each other is awesome. But some more feedback on the weapons would have been nice.

Finn Stokes says ...
Aug 27, 2012 @ 1:42am

Yeah, I would have loved to add a lot more feedback on a range of things but I spent way too long playing with wireworld and the editing interface and ran out of time for such things.

Rellikiox says ...
Aug 29, 2012 @ 11:44am

Really really cool game. I got hooked as soon as I understood what I was doing. But, as Citiral pointed out, a little more feedback would be good.

Gidaio says ...
Aug 30, 2012 @ 5:16am

Sounds like a good idea, but honestly, I don't really want Love2D on my computer. Build a Windows binary and I'll check back.

Finn Stokes says ...
Aug 30, 2012 @ 11:39am

Windows executable added. Sorry it took so long, I kind of forgot.

jprogman says ...
Aug 31, 2012 @ 4:40am

Cool idea. It's just that it's confusing and it could have been better represented. I keep on forgetting what's input/output and which robot is me. :/

mes says ...
Aug 31, 2012 @ 8:14am

Had a blast with this trying out different robot variations. I think the idea is solid as it is, but as others have commented more feedback on weapons (i.e. registering hits, hits received, etc..) could be interesting.

Cool game.

Khayet says ...
Aug 31, 2012 @ 2:00pm

Took a long time for me to understand it, it's a really different kind of concept. Once it's understood it's a really cool game though. As mentioned: You should add a little feedback. And maybe a bit sound and graphics :)

Kayelgee says ...
Aug 31, 2012 @ 2:38pm

Please make a post compo version of this. :D

Finn Stokes says ...
Aug 31, 2012 @ 2:44pm

I will release a post compo version some time after judging is complete (since the multiplayer makes two competing versions undesirable) that will include pretty much everything that has been requested and more.

Skulls says ...
Sep 2, 2012 @ 8:09am

I had a lot of fun playing this entry. I liked that you could see what your enemy had built it. Sometimes I'd just straight up copy them and sometimes I'd make changes myself.

Ragzouken says ...
Sep 2, 2012 @ 8:32am

Really neat idea :) Could do with either a built in tutorial on Wireworld, and maybe a clipboard of gate patterns for people who don't know them. Spamming the rocket exclusively seemed to work well, so some kind of counter would probably be a good idea!

Milo says ...
Sep 3, 2012 @ 3:17pm

I liked the idea, but I couldn't figure out how to get very far, especially given that I didn't know how I could get logic gates to work (especially given that I didn't know when pulses from the inputs would be coming).

Finn Stokes says ...
Sep 4, 2012 @ 1:52am

Ragzouken: I am hoping to add both a tutorial and a clipboard with both prebuilt gates and any structures the player wishes to add. In theory, moving up close and using the claw should beat the rocket, while using just the laser should beat the claw and just the rocket should beat the laser.
Milo: Yeah, that was a big problem that I missed while rushing to get everyone done. In the current development version input pulses are all synchronised with predictable timing and the electron positions reset after each battle so that clocks remain synchronised with the inputs.

someone says ...
Sep 5, 2012 @ 12:59pm

Ok, This was awesome once I finally figured out what was happening. There definitely needs to be more feedback.

Cell says ...
Sep 11, 2012 @ 1:38pm

i love it

galman says ...
Sep 16, 2012 @ 9:50am

Nice idea.. With some more feedback(more graphics) from the game it could be really awesome!

DaviDeMo says ...
Sep 16, 2012 @ 10:37am

strange game O.o very fun =D

RawBits says ...
Sep 17, 2012 @ 1:15am

Very good and nicely done. But it needs more explanation IMHO. I was loosing and loading up the opponents circuits to find out how this whole stuff working but there are circuits that are not making any sense and they are winner ones too.

You must sign in to comment.

[cache: storing page]