Skip to content

domoritz/gameoflife-swift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conway's Game of Life in Swift Swift

Implementation of Conway's Game of Life in an infinite space in Swift. Alive cells are stored in a set. To calculate the next iteration, we compute the number of neighbors for each cell that has neighbors.

I am implementing the Game of Life in different programming languages to learn about them. You can find all of my implementations on GitHub.

Run an example

swift run

About

Conway's Game of Life in an infinite space implemented in Swift

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages