Boxcar 2D!

  • Thread starter Thread starter G.T
  • 39 comments
  • 5,192 views

G.T

Messages
11,462
United Kingdom
U.K
Messages
Paganisterr
Messages
Ak Paganister
This is a car computational evolution program which creates parts of a car randomly and evolves over time to create a better vehicle on a randomly generated track. You can create your own car and use pre-made tracks but I haven't bothered yet. Watching the randomness of the vehicle spawns is amusing in itself. :lol:

Let's see what you come up with! You may have to wait a while for anything interesting to happen. :p

http://boxcar2d.com/


boxcar2d.jpg
 
459 so far. It's cool when they upgrade to a suspension system. It's also cool when they do a big leap and land falling into pieces. :lol:

Keeping it on default settings by the way.
 
I'm not liking it when they break upon spawing. :irked: It's always the ones that look like they have potential too. :(
 
I have to admit at first this game scared the crap out of me. It took about 21 tries till one came with 2 big wheels and powered through the course before hitting a jump and crashing. Another one had a huge wheel and a small wheel and it freaked me out. It got 108 somehow :lol:. I got my buddy playing it too. Its so pointless that its fun.
 
I designed one, however I can't seem to see it i game..

Code:
eNqz/8AABva/lr+fu0mX3/55zduJGUUb7L/M31d2Youl/dWCxde5bAvsP/le+rjy9wt7uHpDtZcVV/7Zv7KMEEjyvQyXP+O5K87Uvsb+I0jX4uv2152nNrKp3IWb9+rK38/bXBfB+ECj2B3Y5k1NLej7Y/+FXeLszZmzgGLMDgLTcvuWPwi2/+CSnx05cybITgf+VRfV5075Zf8ZrDUCKMRm/8VOWsrz2C37b+XZS4qNjf8DgYPIiXlZPTaz7e8L7zyz2dgIrJf9u+2XI3/67C+EW5ydOXMWWB2/08FM0RI/+2dasZUzwXYw2x8M0DRQPGpq/9F5n8mbM2cZli5lpAgDzQQAU3ucBQ==
 
I'm stuck on 786.3 right now. Done this exact result a few times already, but there's an extremely steep slope which the cars can't go up due to lack of torque.

The ones with more torque don't reach that far because along the way they find a way to disintegrate themselves on a hard landing...

Amazing how even on the 6th generation it still pumps out a pile of triangles with no wheels. It's like some people I know; it's a very hard learner...
 
13 generation: 701.4

The distances the cars are getting are starting to average out. I'm seeing 250-600 quite a lot now.
 
I'm stuck on 786.3 right now. Done this exact result a few times already, but there's an extremely steep slope which the cars can't go up due to lack of torque.

The ones with more torque don't reach that far because along the way they find a way to disintegrate themselves on a hard landing...

Amazing how even on the 6th generation it still pumps out a pile of triangles with no wheels. It's like some people I know; it's a very hard learner...
:lol: All this is so true...

boxcar2d2.jpg
 
683.4 in Gen 3. I made my own car and I am using the default track.

Edit: Made some progress in Gen 8 with a score of 782.2.
 
Last edited:
I designed one, however I can't seem to see it i game..

Code:
eNqz/8AABva/lr+fu0mX3/55zduJGUUb7L/M31d2Youl/dWCxde5bAvsP/le+rjy9wt7uHpDtZcVV/7Zv7KMEEjyvQyXP+O5K87Uvsb+I0jX4uv2152nNrKp3IWb9+rK38/bXBfB+ECj2B3Y5k1NLej7Y/+FXeLszZmzgGLMDgLTcvuWPwi2/+CSnx05cybITgf+VRfV5075Zf8ZrDUCKMRm/8VOWsrz2C37b+XZS4qNjf8DgYPIiXlZPTaz7e8L7zyz2dgIrJf9u+2XI3/67C+EW5ydOXMWWB2/08FM0RI/+2dasZUzwXYw2x8M0DRQPGpq/9F5n8mbM2cZli5lpAgDzQQAU3ucBQ==

1) Click on 'input seed / choose terrain'
2) Paste your code into the big box.
3) Click 'input seed car'
4) ?
5) Profit.

I've made 3 simple designs and left them running on the default track for about 90 minutes. The best is up to Generation: 12 and Max score: 1013.2. I'll let them run all night then post the designs and their results.
 
Well getting to Gen 21 my car has made very little progression since Gen 8. Score is at 782.4. So my score is 0.2 better! I think I will leave my computer on till the morning and post my result!

Edit: Flash crashed. Best was like 800. Don't know what gen it was but with my design it was not going that far.
 
Last edited:
It is short but I got 200 with a new design on it with Gen 1. So far in my Gen 2 I'm at 400. My new design is working much better!

Edit: Gen 3 currently at 584.4.
 
Default track? Are you sure you guys don't mean "The Hills" track? The Default track is really short..

It was late, I was tired, I left everything as default except for the car designs.

The thing with the default track is that it starts at a length of 100 and doubles in length with each generation, quckly exceeding the cars capabilities. Unfortunately a bit of investigating shows that the default track will be different each time you select it, so is not a fair way of comparing different cars :(.

So my results from last night?


1st. Winner - Gen:36, Score: 1054.4


2nd. Favourite - Gen:39, Score: 741.5


3rd. Freak - Gen:38, Score: 655.2


...and what they evolved from.

Twin


Pointer


Cubic


I'm now running Twin and a new Tri-Twin design at four tracks; Sisyphus, Speedway, The Hills and The Peak with a population of 10 to accelerate progress through the generations.
 
Last edited:
Had to stop after generation 12, had a best of 727.9 in the 10th generation. Didn't have a chance to take a screen shot, but it was a great car. A triangle body with a wheel at each point, and no spot where the body could touch the ground. It just suddenly exploded after landing a jump :confused: I though it was going to go forever!
 
It was late, I was tired, I left everything as default except for the car designs.

The thing with the default track is that it starts at a length of 100 and doubles in length with each generation, quckly exceeding the cars capabilities. Unfortunately a bit of investigating shows that the default track will be different each time you select it, so is not a fair way of comparing different cars :(.

So my results from last night?

[snip][/snip]


I've got a car built for Sisyphus. It comes close to the 232.8 record that's in the hall of fame. [232.3]

Also, wouldn't The Hills be a better place to test out cars? It seems to me that it is actually a set track. I've seen a few cars stop at the same place every time when they get stuck, and it seems to be endless from what I can see so far.
 
The hall of fame on the site is annoyingly for a previous version so my beating the Sisyphus record twice might not count for anything.

Perhaps the OP could start a GTP hall of fame for us?

It seems that all but Default and Default (Random) are set tracks, so including each of the other tracks in a hall of fame would make sense.

As I posted earlier, I set Twin and Tri-Twin running on a number of tracks. Results after 6 hours:

..........Sisyphus..........Speedway..........The Hills..........The Peak..........


Twin scored 248.3 at Sisyphus, completed Speedway in 14.73 seconds, got stuck at 791.9 in The Hills and completed The Peak in 1:08.



Tri-Twin scored 242.3 at Sisyphus, completed Speedway in 14.93 seconds, got stuck at 624.4 in The Hills and crashed over the line at The Peak in 1:08.

Results in bold beat the 'best cars' on the site, and my times at The Peak are probably very competitive. My scores at The Hills however are not nearly good enough.

One last thing before I get some sleep, the desgn for Tri-Twin...
 
Last edited:
Perhaps the OP could start a GTP hall of fame for us?
I would, but I browse here so little I probably would be bad to update it etc. A mod or another user is welcome to edit/make another thread though if there's enough interest!
 
Back