This project shows Game of Life with: ****An original grid ****The next generation grid (side by side comparison)
- Place this folder inside
C:\xampp\htdocs\gameoflife - Start Apache from XAMPP
- Open browser at: http://localhost/gameoflife/
You will see both grids side by side.
index.php→ main PHP filestyles.css→ CSS stylingREADME.md→ this file
Currently it displays a custom starting pattern in the middle of a 25x25 grid.
Feel free to change the pattern inside index.php by modifying these lines:
$grid[$mid-1][$mid] = 1;
$grid[$mid][$mid+1] = 0;
$grid[$mid+1][$mid-1] = 1;
$grid[$mid+1][$mid] = 1;
$grid[$mid+1][$mid+1] = 1;