schrum2 / MM-NEAT

Modular Multiobjective (Hyper) Neuro-Evolution of Augmenting Topologies + MAP-Elites: Java code for evolving intelligent agents in Ms. Pac-Man, Tetris, and more, as well as code for Procedural Content Generation in Mario, Zelda, Minecraft, and more!
http://people.southwestern.edu/~schrum2/re/mm-neat.php
Other
50 stars 20 forks source link

Race machines #877

Closed schrum2 closed 1 year ago

schrum2 commented 1 year ago

After evolving shapes, we need a way of taking two of them and spawning them at the same time side by side so that they can race.

Currently, the MinecraftBlockRenderExperiment is used by the postSpawnMinecraftBlocks.bat to load machines one at a time at the "special" corner. You can create a new class called MinecraftBlockCompareExperiment that loads two machines side by side. You'll load two shapes, but then you will need to use shiftBlocksBetweenCorners to shift one of them so that they don't spawn on top of each other.

I can imagine problems with the machines moving into each other and crashing, so some extra options may be needed to control the relative placement, but we'll figure that out once a prototype is working.