Vim Snake 2.0 is written in Go and compiled to Web Assembly.
go run cmd/main.go serve
or to watch use the
reflex golang package
reflex -r '\.go$' -s -- sh -c "go run cmd/main.go serve"
Create a .env file with environment variables shown in .env_example
yarn build single build or
yarn startfor development
NOTE: wasm_exec.js needs to be from the specific go version
make to build (also watched and built by
docker build . -t vimsnake:latest --build-arg ARCH=arm64
docker run -p 3000:8090 --rm -it vimsnake
docker run --rm -it -p 3000:8090 --entrypoint sh vimsnake:latest
- Show your top score and thumbnail
- When generating migrations, generate a test file too
- When making fields required, set default value and enforce at DB level