Learning HTML5 canvas for making 2D games.
demo (working as of nov 2022): https://snek-62de1.web.app
- with motion controls for mobile!
- with snek
Teleport
(through walls, pacman-style) andPhase
(through its own body) power-ups!
- motion controls 'could be better'
- turn on firebase cloud logging and analytics
- debug mode: extra logging, output debug info to screen (like canvas dimensions, etc.)
- add thought bubbles at random as the snek eats its food? when it's gone a while without food (so hungry...)?
- "snek refers to images of snakes with interior monologue captioning applied" (knowyourmeme)
- (iOS safari issues) swipe up to full screen not working
- an 'expand'/'enhance' power up that (temporarily?) makes the board larger (& so snake has more room to maneuver) ?
λ npm install
λ npm run server
λ nvm use --lts
λ npm install -g firebase-tools
λ firebase login
λ firebase init # one-time setup
λ firebase deploy