The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970.[1]
This game follow the rules based on Conway's original Game of life
Any live cell with fewer than two live neighbours dies, as if caused by underpopulation.
Any live cell with two or three live neighbours lives on to the next generation.
Any live cell with more than three live neighbours dies, as if by overpopulation.
Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.
Requires IOS 10 or earlier, tested on Iphone 6, 6S, SE, 8 or earlier versions.
For development requires XCode 9, Swift 4.0, MacOs High Sierra or earlier.
Follow Apple Coding Standards
public var generations: Int = 0
enum GameStatus {
case RUNNING
case STOPPED
case STABLE
case OVER
case PAUSED
}
func myFunc() -> Return {
do something here...
}
- Jose Barros - Initial work - JBarros35
See also the list of contributors who participated in this project.
This project is licensed under the Apache 2.0 License - see the LICENSE.md file for details
- Game is open sourced and intended for educational purposes and fun.