Game of Lives
king-of-the-hill cellular-automata game-of-life
In this king-of-the-hill, your goal is to create a GOL (Game of Life) pattern that creates the most live cells after \$n\$ steps. The twist is, you will be competing against 3 other patterns on the same playing field at the same time.
Here are the rules of the Game of Life, with a couple of additions:
- Each player's starting living cells will be a specific colour.
- Any live cell with less than 2 or 3 live neighbours will stay alive, otherwise they'll die
- Note that 'neighbours' includes diagonaldiagonals, so there are 8 possible neighbours for a cell.
- Any live cell with 2 or 3 live neighbours will live
- Any live cell with more than 3 live neighbours will die
- Any dead cell with exactly three neighbours will become a live cell with the colour of the most common neighbouring cell. If there areis no majority, it will become a neutral colour, which doesn'twon't count for further conversions.
- 2 redsReds + 1 blueBlue = redRed
- Red + blueBlue + greenGreen = Neutral
- 2 neutralsNeutrals + redRed = Red
- The playing field will be \$x\$ by \$x\$, where each quarter of the field is each player's starting configuration.
- Cells outside the playing field will always be considered as dead, and cannot be resurrected.
- Each starting configuration will be flipped and rotated so the right and bottom sides face the enemy.
For example, if your submission was:
And you plotted them against one another, the starting configuration could be:
Note how the bottom right isn't symmetrical, but still has the correct sides facing inwards.
Your submission should be a \$x/2\$ by \$x/2\$ GOL pattern that assumes it is in the top left corner.
Rounds will be run until only one competitor remains or the whole pattern repeats, where the competitor with the most cells when the pattern repeats is the winner.
Sandbox:
- I haven't decided yet what sizes the playing field should be (\$x\$), nor how long each game should run (\$n\$).
- I was thinking about a 128 by 128 playing field, with 64 by 64 for each player. Is that too large or too small? For reference, the submission would be the size of: with some gliders and stuff for reference
- Currently the number of steps would be a random number between 3000 and 4000. Is that too many or too little? I haven't really got much reference.
- I am working on a visual controller like the Formic Functions question
- Overall winner? Check all combinations (way too much time as more submissions are added)? Tournament structure (multiple rounds per elimination)?