Conway's Game Of Life (FINISHED!)
It finally happened!
Definable number of lives, can easily scale or shrink and the edges are fully wrapped around.
Here I've got a grid of 14*14, looping 100 times, which is why it cuts off towards the end.
After thinking through and working out on paper how to wrap the edges, the easiest way I found was to create a buffer edge around the matrix, which is never displayed in 3D, and copy values from the edge of the 3D matrix into the buffer, this allowed all the code I had written before to still work, and I just had to work in the new parts to get it wrapping round.
So happy with the result! I want to work now on rendering it nicely, changing the cubes for something else perhaps, and getting something lit and rendered to have a nice version to show, coding wise in future I may look into creating starting cubes, to define certain patterns that will create specific results, such as this from the wiki page.