Skip to content
vic

w0rm/elm-flatris

A Flatris clone in Elm language

w0rm/elm-flatris.json
{
"createdAt": "2015-10-31T16:04:48Z",
"defaultBranch": "main",
"description": "A Flatris clone in Elm language",
"fullName": "w0rm/elm-flatris",
"homepage": "https://unsoundscapes.itch.io/flatris",
"language": "Elm",
"name": "elm-flatris",
"pushedAt": "2021-02-06T15:41:52Z",
"stargazersCount": 410,
"topics": [],
"updatedAt": "2025-09-11T04:12:45Z",
"url": "https://github.com/w0rm/elm-flatris"
}

A Flatris clone in Elm.

![Screenshot]!(elm-flatris.png)

Current demo can be seen here.

  • 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!
  1. Install elm elm-lang.org/install
  2. Clone this repo and cd into it
  3. Run elm make src/Main.elm --output elm.js
  4. Open index.html in the browser