A Flatris clone in Elm language


License: Other

Language: Elm


A Flatris clone in Elm language v0.18.


Current demo can be seen here.


  • works on both desktop and mobile
  • renders the grid to canvas with Graphics.Collage
  • preserves the game state in localStorage, just try to reload the page while playing!

Instructions to run

  1. Install elm elm-lang.org/install
  2. Clone this repo and cd into it
  3. Run elm reactor
  4. Open localhost:8000/src/Main.elm in the browser

Touch support (tested on iOS)

For a touch support compile to html elm make src/Main.elm --output elm-flatris.html and add the following meta:

<meta name="viewport" content="width=480,user-scalable=0">

Project Statistics

Sourcerank 7
Repository Size 71.3 KB
Stars 290
Forks 41
Watchers 12
Open issues 2
Dependencies 6
Contributors 1
Tags 0
Last updated
Last pushed

Top Contributors See all

Andrey Kuzmin

Something wrong with this page? Make a suggestion

Last synced: 2016-11-24 16:53:34 UTC

Login to resync this repository