Weekly Challenge 6 - Artificial Intelligence.docx - Weekly...

This preview shows page 1 - 2 out of 2 pages.

Weekly Challenge 6 - Artificial Intelligence The Game of Life Rules of the Game 1. The layout is an infinite, 2-dimensional grid: each square on the grid is called a cell 2. Each cell has 8 neighbouring cells (all cells around it including the diagonals) called neighbours 3. Each cell can be occupied or empty: an occupied cell is referred to as “live”, an empty cell is referred to as “dead” 4. If a cell “dies”, it changes from live to dead; if a cell is “born”, it changes from dead to live 5. If a live cell has less than 2 live neighbours, it dies (“isolation”) 6. If a live cell has more than 3 live neighbours, it dies (“overcrowding”) 7. If a dead cell has exactly 3 live neighbours, it is born and becomes live Running the Simulation The simulation is an example of a cellular automaton which resembles real-life processes. When we run the simulation, we can see how the cells react to the rules depending on their initial configuration and

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture