Applications are open for the Product College - Apply Now

What You Learned

What You Learned

April 12, 2017

Project: Learn to buid Conway's Game of Life with SpriteKit and Swift 3

Congrats again on finishing Game of Life and building another great iPhone game!

Let's take a look at what you have learned.

The game

What you learned

  • The Grid Class: Sub classing SKSpriteNode and built a self contained simulation node.

  • Creature generator: Adding methods to spawn creatures at a give grid position and automate this to produce creatures at every entry in the grid.

  • Touch input: Translating user touch into grid row / column position.

  • 2D arrays: Creation and manipulation of 2D array. Implementing functionality to traverse all neighbors of a specified cell to calculate neighborCount

  • Build a scheduler: Using SKActions to build a simulation scheduler allowing you to automate the running of the simulation.

  • Game of Life ruleset: Translating the Game of Life ruleset into code logic.


Download the Game of Life solution.

GitHub Cat


If you have feedback on this tutorial or find any mistakes, please open issues on the GitHub Repository or comment below.

Summer academy

An iOS Development Summer Course

Design, code and launch your own app. Locations in San Francisco and Asia

Find your location

Product College

A computer science college

Graduate into a successful career as a founder or software engineer.

Learn more