Vim Snake 2.0 is written in Go and compiled to Web Assembly.
Create a .env file with environment variables shown in .env_example
yarn build single build or
yarn startfor development
make to build (also watched and built by
Set environment vars:
firebase functions:config:set score.secret="same secret as in .env"
cd functions then
yarn deploy to deploy
ctrl + [keybinding for insert mode
- Show "i" to eat food when running over food