conways-life-go-wasm

command module
v0.0.0-...-b914508 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2018 License: Unlicense Imports: 3 Imported by: 0

README

Conway's Life in Go and WebAssembly

Experiments with Go and WASM. I'm fairly beginner at both, so feedback is welcome.

Install and run

Go v1.11 or higher is required.

A Makefile is included to help with the build.

make

This'll put a conlife.wasm file in the docs/ directory.

And then run a webserver in that directory. The server has to be aware of the application/wasm MIME type. If you don't have one handy, here's a silent one-liner for use with goexec listening on http://localhost:8000/:

goexec 'http.ListenAndServe(":8000", http.FileServer(http.Dir(".")))'

Demo

References

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL