Infinite Art Gallery is a game that uses established methods of evolving art with Compositional Pattern Producing Networks (CPPNs) to allow users to explore a world of art tailored to their preferences.
Adjust the game to store the properties of the doors within a "population".
Specifically, create a Genotype class that is a general interface (look at my version in MM-NEAT for inspiration). Then, derive a SimpleDoorGenotype that basically stores three numbers: R, G, B for color. Define crossover and mutation operations across this simple representation.
When the game boots, create a "population" of 4 doors that are randomly initialized. Whenever the user goes through a door, the player enters a new room. The door they came though should be a copy of a door from the previous room that was NOT chosen. The other three doors should be random offspring from the chosen door (make one of them randomly mate/crossover with one of the other unchosen doors from the previous room).
Adjust the game to store the properties of the doors within a "population".
Specifically, create a Genotype class that is a general interface (look at my version in MM-NEAT for inspiration). Then, derive a SimpleDoorGenotype that basically stores three numbers: R, G, B for color. Define crossover and mutation operations across this simple representation.
When the game boots, create a "population" of 4 doors that are randomly initialized. Whenever the user goes through a door, the player enters a new room. The door they came though should be a copy of a door from the previous room that was NOT chosen. The other three doors should be random offspring from the chosen door (make one of them randomly mate/crossover with one of the other unchosen doors from the previous room).