https://github.com/skylarmb/gameoflife
A simple Conway's Game Of Life implementation in 3 languages.
https://github.com/skylarmb/gameoflife
Last synced: about 1 month ago
JSON representation
A simple Conway's Game Of Life implementation in 3 languages.
- Host: GitHub
- URL: https://github.com/skylarmb/gameoflife
- Owner: skylarmb
- Created: 2014-05-28T00:25:51.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-05-28T00:32:28.000Z (about 12 years ago)
- Last Synced: 2026-03-12T04:50:09.936Z (4 months ago)
- Language: C
- Size: 230 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
README
Total time spent on development: 35 hours
Tested on the following. We do not guarantee it will work on your OS or machine.
Haskell: Windows 8 with GHCi 7.6.3 and modules installed via Cabal
C: UCSC Unix server and provided GCC compiler
Scala: Windows 8 with Scala 1.10.3
Usage: pentomino.txt is an example world provided for your testing.
Feel free to modify it to create new world seeds as long as
you keep the line length and number of lines the same.
Haskell: > ghc -O2 GOL.hs
> GOL.exe "pentomino.txt" 500
C: > gcc -std=c99 -o GOL GOL.c
> ./GOL pentomino.txt 500
Scala > scalac -optimise GOL.scala
> scala Main pentomino.txt 500