All Projects → theclapp → go-life

theclapp / go-life

Licence: other
Conway's Game of Life in Go

Programming Languages

javascript
184084 projects - #8 most used programming language
go
31211 projects - #10 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to go-life

cs1501-final
Haskell class final project -- game in Haskell.
Stars: ✭ 21 (+61.54%)
Mutual labels:  life, conway-game
glider
Generative music using conway's game of life
Stars: ✭ 38 (+192.31%)
Mutual labels:  life, conway-game
GameOfLife
Conway's Game of Life
Stars: ✭ 18 (+38.46%)
Mutual labels:  life, conway-game
go-life
Terminal based Conway's Game of Life. Implemented in Go.
Stars: ✭ 95 (+630.77%)
Mutual labels:  life, conway-game
game-of-life
An implementation of Conway's Game of Life in Rust using Piston
Stars: ✭ 30 (+130.77%)
Mutual labels:  life, conway-game
Knowledge
Documenting every knowledge
Stars: ✭ 26 (+100%)
Mutual labels:  life
Muenchen Wiki
information about life in Munich. join our chat on telegram https://t.me/muenchentraktor
Stars: ✭ 125 (+861.54%)
Mutual labels:  life
Fcfrtmvp
🔥FcfrtMvp+RxHttp+RxJava(Kotlin和JAVA共用完美支持)支持一键创建MVP项目,框架简约风格及详细注释,欢迎 star or fork!
Stars: ✭ 23 (+76.92%)
Mutual labels:  life
Cg Blog
Welcome to my blog, watch, star and fork. In my blog, you can know the latest techniques and anecdotes.
Stars: ✭ 426 (+3176.92%)
Mutual labels:  life
koi
Immediate mode UI for Nim
Stars: ✭ 27 (+107.69%)
Mutual labels:  imgui
Life
The definite Conway's Game of Life implementation in your browser. Features an infinite field & Hashlife
Stars: ✭ 225 (+1630.77%)
Mutual labels:  life
Beautiful Scenery
我只是一个美景的搬运工❤️ ❤️
Stars: ✭ 111 (+753.85%)
Mutual labels:  life
Pigeon
A process to deepen the feelings of parents and children
Stars: ✭ 20 (+53.85%)
Mutual labels:  life
Sunmaobin.github.io
blog
Stars: ✭ 159 (+1123.08%)
Mutual labels:  life
Life Commit
🏃📆 Life as a git. Commit on your life.
Stars: ✭ 919 (+6969.23%)
Mutual labels:  life
Life
Life - a timeline of important events in my life
Stars: ✭ 2,627 (+20107.69%)
Mutual labels:  life
Blog
Personal Blog - 博客 | 编程技术,软件,生活
Stars: ✭ 506 (+3792.31%)
Mutual labels:  life
Songtianyi.github.io
blog pages
Stars: ✭ 77 (+492.31%)
Mutual labels:  life
Nonsense Series
以下为一则清单,包含信息资讯、工具推荐、使用教程、生活感悟等,旨在将你引向独立思考和客观理性。我会持续更新和维护,也可以视作本人的「废话集」和 eBooksPlan 公众号文集的备份。
Stars: ✭ 188 (+1346.15%)
Mutual labels:  life
Life Calendar
📆 Online calendar of your Life in Weeks.
Stars: ✭ 62 (+376.92%)
Mutual labels:  life

go-life

Conway's Game of Life in Go, cross-platform
Uses Gio by @EliasNaur.

To build

For the desktop app, Go 1.12 is fine.

To build the web version (which you don't have to do if you only want to run it), you'll need 1.13 / go tip. (Explaining "go tip" is beyond the scope of this readme, sorry.)

Again: the www/ directory in the repo is ready to run, no need to (re)build it. So if you just want to try it, you don't need "go tip".

Desktop

% export GO111MODULE=on
% go run life.go

Browser:

Locally

% go get github.com/shurcooL/goexec
% goexec 'http.ListenAndServe(":8080", http.FileServer(http.Dir("www")))'

Browse to http://localhost:8080.

From Github

Browse to http://theclapp.github.io/go-life/www/.
May take a few moments to download on your first visit; ~4 mb download (~1 mb on the wire).

(May not work in Chrome (see #1) though it does for me. If not, try a different browser.)

Hotkeys

These work in the desktop app and in the browser.

  • q to quit (in the browser this just halts execution)
  • r to restart the universe with random cells
  • - (minus key) to reduce the scale (zoom out)
  • + to increase the scale (zoom in) (= also works)
  • < or , to slow down the generations
  • > or . to speed them up
  • p pause
  • c continue

You can also click-and-drag or scroll around.

You can't enter or save patterns yet.

Screenshots

macOS

Gio Life on macOS

Chrome

Gio Life on Chrome

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].