I am learning elm-ui and decided to make something fun. This is a classic snake game created with elm-ui. Just to give it a boost, this version has the food replenished in batches, not one by one.
- The game is over if the snake bites itself or it hits
- Snake grows with each chomp.
- The longer the snake, the faster it moves.
- The game is controlled only from keyboard, so please make sure you have focus
on the game page. Or just focus on it by clicking the start screen.
- You can tweak the
Configto change the game defaults.
Try the game out at https://ellie-app.com/6jwD8zj3YTsa1
And GitHub: https://github.com/holobeat/elm-snake