- Mouse interaction: Clicking on the grid toggles the state of the cells (alive or dead).
- Keyboard controls:
- Spacebar: Starts or pauses the simulation.
- Key C: Deletes the grid and resets all cells to dead.
- Key G: Creates a new random configuration of living cells.
- Left Arrow Key: Decrease the simulation speed.
- Right Arrow Key: Increase the simulation speed.
- Up Arrow Key: Zoom in by increasing the cell size.
- Down Arrow Key: Zoom out by decreasing the cell size.