Click on the banner for a demo video
- Download the zip file
- Unzip it, you should get an executable and a resource folder
- Keep them in the same folder or it won't work !
- Launch the executable!
- you are on it so...
- Press SPACE (or admire the cute robot you got in front of you)
- Configuration mode : Configure the Simulation
- Choose the population size (number of androids) and the mutation chance (what percentage of the population will mutate in the next generation. See below if you are not sure or leave it as it is)
- Press ENTER when you are done to enter the Simulation mode
- Press ENTER when you are done to enter the Simulation mode
- Simulation mode : You can see your androids trying to enter a portal
- press R to reset the Simulation and the portals
- press E to place obstacles on the screen
- Press CTRL to toggle between Simulation mode and Inspection mode
- CLICK on the + or - button to increase or decrease the speed.
- Inspection mode : inspect what is going on
- CLICK on androids to have information on them
- Have Fun !
The population size is how many androids you have. Generally, the more there is the better but it can lead to performance issues for a little improvement on the genetic algorithm's convergence speed .
The mutation chance (MC) is really important but it must be a small value inversely proportional to your population size. If your MC is too big you might mutate a good gene :( but if your MC is too small it'll take your lifespan to see any improvement :'(
if you are not sure what to do just experiment with different values
The sprite were made by me on Paint nothing fancy.
The music is free of use from the Free Music Archive see here for more information.
#olcCodeJam2020