/gogameoflife

Conway's Game Of Life implementation using Golang + WASM

Primary LanguageJavaScript

Overview

gogameoflife is a fun project of mine that implements Conway's Game of Life using Golang + WASM

gogameoflife in action

Prerequisite

  • Golang 1.15
  • Depends on syscall/js package which is still in alpha and can have breaking changes across releases of Go

Compile and run

  • Clone the workspace
  • Compile the WASM
GOOS=js GOARCH=wasm go build -o resources/game.wasm
  • Run the webserver
go run ./server/server.go -listen=:8080