Game of Life

One of our tasks for my lesson programming, we had te recreate Conway;s Game of Life, a zero-player game in which a state of a pixel (in my versions case, cube) is decided by it’s neighbours. When there are not enough pixels around, it will decease because of underpopulation. If there are enough neighbours, it wil live. If there are too many neighbours, it wil die of overpopulation.

Plaats een reactie