The online racing simulator
BoxCar2D - Genetic evolutionary flash game!
(13 posts, started )
BoxCar2D - Genetic evolutionary flash game!
#2 - PoVo
My best car seed so far:
eNqzv2lZ8ogtLc2BxStz58mZs+yf9ffbTjY2tn9aaLnkM5DeLLNn+rO0NPv7M9vaZgLlH3GmCPScOevAPlsqKAwofuno1OeRM2fa/8zdecaBgcH++eN7PwWA9Hc7ed1goP57bTyp9v//O7C4ekRnAvVfXKbksAAo/3PipUWWM2f9BwIHoZBWpXeTw+2fr9CYC7STgYGB1YFZTclz41Ul+8/Mkd8lZ84CirHY/38RN/McT5/9y3n7zi1LSwPrZbw008zms579y4SyS8ZgvWwOvGsiZ1a6Vdt/nzDzJcQ8ZgeBZ12at5YusN/bFjhzJtRexu8XL0VM3WP/Sipovs+ZM2Ax8aI+l6QCPfvX3C6aQDsYDNL1GQyn+aNgtlZZrHjyi7cYYkB3AwAmtpQl

Quote from PoVo :My best car seed so far:
eNqzv2lZ8ogtLc2BxStz58mZs+yf9ffbTjY2tn9aaLnkM5DeLLNn+rO0NPv7M9vaZgLlH3GmCPScOevAPlsqKAwofuno1OeRM2fa/8zdecaBgcH++eN7PwWA9Hc7ed1goP57bTyp9v//O7C4ekRnAvVfXKbksAAo/3PipUWWM2f9BwIHoZBWpXeTw+2fr9CYC7STgYGB1YFZTclz41Ul+8/Mkd8lZ84CirHY/38RN/McT5/9y3n7zi1LSwPrZbw008zms579y4SyS8ZgvWwOvGsiZ1a6Vdt/nzDzJcQ8ZgeBZ12at5YusN/bFjhzJtRexu8XL0VM3WP/Sipovs+ZM2Ax8aI+l6QCPfvX3C6aQDsYDNL1GQyn+aNgtlZZrHjyi7cYYkB3AwAmtpQl


default track?

My best is about a score of 700+ on the default track
edit - wrong car....

Right now I'm working the Hang ten track, getting close to the top 3 on that one, over 303 right now
Quote :eNqzv7Tto08CA4P9b7kdga9b5e3vc9TbWM6caf/0UH+MxtdD9q8UC2wdgPKPeDx3xZna27+5nVKzcuYs+69i7dpMPF72j7xup50E8q/a17ydmFFk/1Jl4sJnaWn2j5/ndDtPbbS/PHeTLl8Yi/2HlxVX/n7eZn8cLMxm/7XX/751ShQDAwOz/SOJ8pYo7r/2H0E21Lz7DwQOojLd+fuSA+2/xjewsqWlAdUxOnAozI9W2rXM/vtHy+duYDEG+wvWIqYv1xTZXzHcwmJsbAzSa78sRj3nYukr+1c1KQHL0tLAYu9l/hfZvve2Pz5N8BtQHdg89jc860JEftu/LqxMmTlzJljdnk6nCR9mddp/bU1fJzlzFsP8onCKMNB/ACHwnfY=

This baby goes to 894 on default track. Still needs some tweaking, could use a bit more torque.


Very cool game!
#5 - aoun
eNqzf7ry9/OcbhcHDgYwsH9X9dB9nUi1/cVOc+9jyz/Yvxad6sZz5qwD+5HZSx8H/7A/fGz5+7mbdB2Yp/f637dOtX+4zXXhqQPN9o+BpjhPbbQ/GCGQ5HvpkwPj93M3xdq17T9Azf3wsuLK38/bYHyYfUDA7sA8q7GKx3y5/cddcab2Ne+AYqwOkoq/Q1x0Jew/7ys7scUy4j8QOPCeXl7Kkxpk/5m3yCdy5iyQOvvfDUvd/36vsr/yYEuZz5kzQDFGBwG2T/NkdqjYn5lc9A9iB5uD+NmjEQ+PyNhfs92fudnYGCwmJt3naX/gg/3nCtmAZ2lpYDsYbuddEOj7Zv9hZXRG5MyZDCADYBgGwPx//8D0xUhXvJiBgQkAVtaNqA==

Made a bike... Well, a crap bike, but close enough. Ducati colours too
I'm "breeding" a "car" by training. 642 points so far.

Update: 830 so far. It kinda looks like a pick-up hehe
LOVING the genetic algorith aspect of this.

It's great how certain types of car evolve for different situations. The flat, high speed tracks tend to breed Dragsters, wheras tracks like 'Blockhead' tend to breed tanks; huge torquey monsters with lots of wheels.
903 points on default terrain, very slow:
eNqzXzkTBGbZ74TS1OZvXPn7eU63C4b8Q/23m/TevWdgYGCx/yrTnb8vOdD+0keQ4h6gGJODYHhRZ8M3dfsLjp3m3sdWAMUY7P9pHDd8nRlg/90n4XnUqtX/gcD+2lPTUE9ZEfsHbib2Hh2dQGVsDqyW7wvqq8Ttr+X8mORz5gxYTJLjRVtp+jn7r1d2HktLSwPpdRC8InLm3oSP9t8CrsVZng4Bi0mKRiz0qki2f8pxoAeojmHDkkMMF914GQrNKsA0Mq658h5MZ/G/YfhTwclQeHEzw50MXobob9cYJKewMoRObwH5BQDN5KmC

And this will achieve 368.8 on Hang Ten:
eNqzP1yctST27j0HDgYwsF85EwRm2d/YqWbHtWqN/Wbz90wXBQXtz7Bdk/jdeMj+UeQb4Rm/ze2P8e+accd4kf2Or4f6YzS+ObCWRqmlpaXZnz39LP+RkqL9Tqg5e/s5jPfOCbV/oM/8+tSq1XDzofJAK1nsfx3u1o1f/M7+8jz2grB7vSB3ODDVb/IQ3/XG/on1Da+2vceBQowOjDw7pobFidi/8lH2hDiXyf5DdPUpBZ9Y+2ef+hg/Gxv/BwIH5kPhliu3t9nfMbTQyXv3DqiO3UFU95hT0X8W+zf7lvx9tWo1WB2fmN+5iaFH7L+mHHjGujkOLCY4j1EnQ++0/UdmXU9nY2MGlqUzGLifczLwxQgyvIp4xzBbRZEhVHwOQ+HqtQxzXKYz3PQ8wMCQnsvAaZvN8OmoJcNHLiaG7zNiGL4+ucMQXrsG5EYAoMiY9A==

I'll let it evolve some more, above is the 148th generation.
109th generation on 'Blockhead' and it's up to 210 points.

There was a species evolved last night with a little arm on the front which would punch a block out of the tower as it approached and throw it into the next one to 'pre-demolish' it. That was hours ago and they seem to have gone extinct now wish I'd have saved the key.

The 'tanks' seem to also be on the way out, the current top runners are 'superbike' (which looks like a motorbike) and what looks like a descendant of the 'arm cars' which still has a vestigial arm out the top.
Quote from Crashgate3 :109th generation on 'Blockhead' and it's up to 210 points.

There was a species evolved last night with a little arm on the front which would punch a block out of the tower as it approached and throw it into the next one to 'pre-demolish' it. That was hours ago and they seem to have gone extinct now wish I'd have saved the key.

The 'tanks' seem to also be on the way out, the current top runners are 'superbike' (which looks like a motorbike) and what looks like a descendant of the 'arm cars' which still has a vestigial arm out the top.

You should try the particle swarm selector instead of the genetic one - that one seems to keep the best types of each generation and make them better, instead of only the car with the fastest time as parents etc

Quote :Each car in the population has an inital position (its chromosome values) and a velocity. Velocity is randomly chosen from range U(-|bup-blo|, |bup-blo|) with bup and blo are the upper and lower bounds for each chromosome value.

For each car we save the best position and the populations global best position, meaning the ones that score the highest. Then each generation, the velocities and positions are updated using the swarms best position and each cars best and current positions.

for each population member i:
vi ← ω vi + φp rp (pi-xi) + φg rg (g-xi)
and
xi ← xi + vi

where ω, φp, and φg are set by the user and rp and rg are chosen randomly from U(0,1). See http://en.wikipedia.org/wiki/Particle_swarm_optimization for more information. (the variables are denoted W, Wp, and Wg in the simulation).

Got a best of 15:03 secs on the Speedway drag track with a hand made car - beats the very best times in the game
It seems the larger the body, the more torque and the bigger the wheels the more speed

edit - slashed it to 14:93 secs with 493 torque monster!
my best so far:

eNqz35oxI8SlJMR+50wQmGX/eF9mEPfBfQ6s3d//HQxWs18JEXfgYAAD+0NJLG8rdh2Fq9/gPtly1u8GOP9uR8qW0zNOwNV/gNJv/q38+lfkCdw8hlv1c19fPgySc5BU/B3ioithf/9t05onF0SAQqwOEjdWuz/t32//wN5n2pcPN8HquF7e6l/hH2b/bEnU32nxN4BCTA6i+w7syvp9zf7jZY9VpVM2/AcCB8E6D5OpGx7C3AQWE2V14QuOMbV/o/ZxW+aBV0C9zAxQYP8DxmJgduAp1r397NYSuNiP/6oMmz9YMFQ+52GQ/N/OkLqIh2GxqSQDTxUPw6bZkgwORkBxDUkGldPzGCTnAMX/8zDMmlfK0HqRh2HSK0mgCRwAnv+PvQ==
929.4 on The Peak:

eNqz/8AABg4cENoeyrffORMEZhHLd2BeYvqu29jY/j1L9CGbM2ftH0XuYkjAYt47G/XnnUAaygfLHb+7sLlm10r7HwwwwAhjwMT+A4GDgGDz1ncfVth/eF8u+CwtDSzGu0rwQkKtmP235Sd1oeY5CNx7w+a06p79o/WrLCHaWRyElx4tjZP3t/+U1l/Bc+YsUIzJ/u/E9YKudRPsH3mek/Q5cxZsnni++Y2vi9baf/ubvEHY2JihJPcYCpbTiAZjdHFcGGgPAHd/hXQ=

BoxCar2D - Genetic evolutionary flash game!
(13 posts, started )
FGED GREDG RDFGDR GSFDG