The classic ruleset of Conway's Game of Life implemented using rust and glium.
Conway's Game of Life Rules: From Wikipedia
- Any live cell with fewer than two live neighbors dies, as if by underpopulation.
- Any live cell with two or three live neighbors lives on to the next generation.
- Any live cell with more than three live neighbors dies, as if by overpopulation.
- Any dead cell with exactly three live becomes a live cell, as if by reproduction.
TODO:
- Order logic to make more modular and easier to understand.
- Set fixed timesteps to prevent the program from running too fast.
- Rewrite to draw the cells in batches rather than one by one.
- Add mouse/keyboard support for custom drawing of cells and such.
- Make more performant.