module
Version:
v0.0.0-...-ec3cef0
Opens a new window with list of versions in this module.
Published: Feb 22, 2019
License: MIT
Opens a new window with license information.
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:
Play it now!
Directories
¶
|
|
cmd
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.