kwg / InfiniteArtGallery

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.
https://people.southwestern.edu/~schrum2/SCOPE/iag.php
3 stars 0 forks source link

Represent doors as a population: simple evolution #4

Closed schrum2 closed 6 years ago

schrum2 commented 6 years ago

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).

kwg commented 6 years ago

This was done in RoomTest_01 using the older system. Not recreating it in RoomTest_02. Moving on to issue #5.