This is the Game of Life written in Python 3.10. It uses tkinter for the GUI; in fact I wrote it as an exercise in using tkinter as it's been a couple years since I last played with it.
Each cell of the game is a canvas rectangle. The id of each rectangle is stored in an matrix, shifted left by two. The bottom two bits of each shifted id are used to store the current state of the cell and the next state of the cell.
4322 links, including 294 private