gowasm-elevatorsaga

module
v0.0.0-...-ec3cef0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2019 License: MIT

README

GO WASM Elevator Saga

The elevator programming game, modified to accept GO WASM input:

  • The user submits his go code
  • A POST request is sent to a REST API endpoint with the user code + a hash
  • The reverse proxy checks the cache, in case of a cache HIT the next step is skipped
  • The Go API server builds the wasm binary in a docker container
  • The wasm binary is returned to the browser and loaded
  • Frontend JS calls the wasm code and runs the solution

Intro Article: Practice your Go WebAssembly with a Game

Only tested on Chrome v71+ !

TODO:

  • try out tinygo

Play it now!

Image of Elevator Saga in browser

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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