red42 / HTML5_Genetic_Cars

A genetic algorithm car evolver in HTML5 canvas.
zlib License
1.19k stars 294 forks source link

Wall-like vertical grades can be produced #10

Closed mstefarov closed 10 years ago

mstefarov commented 10 years ago

The floor generator can produce artifacts like these completely insurmountable walls: It would be nice to do a post-generation low-pass filtering pass to prevent these kinds of game-breaking obstacles from being generated.

For reference, the terrain seed I used was "TerribleTerrain" :P

red42 commented 10 years ago

That kind of wall is actually not a problem for reasonably evolved cars. The walls can get a lot more complex than that. That's by design. And "endgame" so to speak.

I believe only about 10% of the tracks are "beatable". But you'd be surprised by the kind of obstacles a few days of evolution can overcome.