summaryrefslogtreecommitdiff
path: root/Userland/Games/GameOfLife/Board.cpp
AgeCommit message (Collapse)Author
2021-05-16GameOfLife: Switch from single indexed vector to rows+columnsLinus Groh
This is not only easier to comprehend code-wise and avoids some function overloads, but also makes resizing the board while preserving game state *a lot* easier. We now no longer have to allocate a new board on every resize, we just grow/shrink the individual row vectors. Also fixes a crash when clicking the board widget outside of the drawn board area.
2021-05-15Games: Add GameOfLifeAndres Crucitti
This patch introduces a new game based on Conway's Game of Life.