Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/w0rm/elm-flatris
- Owner: w0rm
- License: other
- Created: 2015-10-31T16:04:48.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2021-02-06T15:41:52.000Z (almost 4 years ago)
- Last Synced: 2024-11-17T02:02:53.688Z (27 days ago)
- Language: Elm
- Homepage: https://unsoundscapes.itch.io/flatris
- Size: 79.1 KB
- Stars: 409
- Watchers: 16
- Forks: 89
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- Awesome-BigData - Elm Flatris - A Flatris clone in Elm language v0.18. (Examples)
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