In order for this code to work add the header file (olcPixelGameEngine.h) found at https://github.com/OneLoneCoder/olcPixelGameEngine.
Commands one can use so far:
-
Left Click (Hold) → Shows the number of neighboors of the selected cell (N=..) and a window that shows a zoomed in version of the neighboors of the selected cell. Above the "smaller" zoomed in window we have (X-Coordinate - Y-Coordinate - "Zoom Level"). The "Zoom Level" can be 3, 4, 5, or 6.
-
Left Click (Hold) + Right Click (Hold) → Change the value of the selected grid to Alive.
-
Left Click (Hold) + Mouse Roll Up → Zoom in.
-
Left Click (Hold) + Mouse Roll Down → Zoom out.
-
U Button (Hold) → Progress the time Forwards.
-
R Button (Pressed) → Progress the time Backwards. Only by one step because I do not keep track of the past grids.
-
I Button (Pressed) → Resets the entire grid.
-
P Button (Hold) + Right Click (Pressed) → Insert a "Glider Gun".
-
G Button (Hold) + X Button (Hold) + Right Click (Pressed) → Insert a Glider of type X (I do not know the name).
-
G Button (Hold) + Y Button (Hold) + Right Click (Pressed) → Insert a Glider of type Y (I do not know the name).