Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

A Flatris clone in Elm language
https://github.com/w0rm/elm-flatris

Last synced: 20 days ago
JSON representation

A Flatris clone in Elm language

Awesome Lists containing this project

README

        

# Elm Flatris
A [Flatris](https://github.com/skidding/flatris) clone in Elm.

[![Screenshot](elm-flatris.png)](https://unsoundscapes.itch.io/flatris)

Current demo can be seen [here](https://unsoundscapes.itch.io/flatris).

## 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](http://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