w0rm/elm-flatris


A Flatris clone in Elm language

https://unsoundscapes.itch.io/flatris

License: Other

Language: Elm


elm-flatris

A Flatris clone in Elm language v0.18.

Screenshot

Current demo can be seen here.

Features

  • 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
Created
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