Book Image

Swift by Example

By : Giordano Scalzo
Book Image

Swift by Example

By: Giordano Scalzo

Overview of this book

Table of Contents (15 chapters)

The app is…


The world of Flash games is a never-ending source of inspiration, and because Flash is not available in iOS, the most fun Flash games must be remade in a native way.

Cube Runner is a rare case a in which simplicity and fun come together to create a really addictive game. Implemented in 2006 by Max Abernethy, it is a predecessor of the infinite runner game where the player, who is driving a triangular spaceship, must survive in an alien landscape by avoiding the cubes he encounters during the run.

As is usual in endless runner games, the score increments in a time-based fashion; the more time the player survives, the bigger the score.