Adaptation of Conoway's game of life for Watchy-Screen
This code assumes a couple of things:
- You have a
shared.h
file with aMainScreen
function that returns to the main screen. If you don't, you will need to adjust thelifegame.h
- You are putting these files into a
src/Screens
directory (see where the default screens go in Watchy-Screen
Much of the logic in this code is taken from here. Thus, most of the comments are incorrect.