Adaptation of Conoway's game of life for Watchy-Screen
This code assumes a couple of things:
- You have a
shared.hfile with aMainScreenfunction 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/Screensdirectory (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.