Total Pageviews

Monday, 11 December 2023

Elm Flatris

 

A Flatris clone in Elm language

unsoundscapes.itch.io/flatris

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

  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

from https://github.com/w0rm/elm-flatris

 

No comments:

Post a Comment