summaryrefslogtreecommitdiff
path: root/Userland/Games/GameOfLife/Board.h
AgeCommit message (Collapse)Author
2022-04-01Everywhere: Run clang-formatIdan Horowitz
2022-02-16Games: Use default constructors/destructorsLenny Maiorani
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules "The compiler is more likely to get the default semantics right and you cannot implement these functions better than the compiler."
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.