A Flatris clone in Elm language
A Flatris clone in Elm.
Current demo can be seen here.
Features
- works on both desktop and mobile
- renders the grid with
elm/svg
- preserves the game state in
localStorage
using ports, just try to reload the page while playing!
Instructions to run
- Install elm elm-lang.org/install
- Clone this repo and
cd
into it - Run
elm make src/Main.elm --output elm.js
- Open
index.html
in the browser
from https://github.com/w0rm/elm-flatris
No comments:
Post a Comment