https://github.com/fifth-postulate/brainbow
An Elm project implementing the brainbow puzzle
https://github.com/fifth-postulate/brainbow
Last synced: 8 days ago
JSON representation
An Elm project implementing the brainbow puzzle
- Host: GitHub
- URL: https://github.com/fifth-postulate/brainbow
- Owner: fifth-postulate
- License: mit
- Created: 2016-04-20T21:58:00.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-23T18:54:51.000Z (over 9 years ago)
- Last Synced: 2026-01-23T09:40:10.095Z (6 months ago)
- Language: JavaScript
- Homepage: http://fifth-postulate.nl/brainbow/
- Size: 110 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# brainbow
An Elm project implementing the brainbow puzzle.
Play it [now][puzzle].
## Getting Started
Follow the next instructions to start puzzling.
1. [Install elm][install].
2. Clone this repo and `cd` into it.
3. Run `elm reactor`.
4. Open [https://localhost:8000/src/Brainbow.elm][local]
## Install with [bower][]
You can install the JavaScript file from bower with the following command.
```sh
bower install brainbow
```
This will install the file `brainbow/js/brainbow.js` inside of the
bower_components directory. To use it create a HTML file reference the
`brainbow.js` file and embed the brainbow.
```html
var node = document.getElementById('container');
var app = Elm.Brainbow.embed(node);
```
[install]: http://elm-lang.org/install
[local]: http://localhost:8000/src/Brainbow.elm
[puzzle]: http://fifth-postulate.nl/brainbow
[bower]: https://bower.io/