Port of Better Solitaire Irmingard to ClojureScript and Om.
Original implementation with CoffeeScript and Backbone Marionette:
irmingard-backbone.
Pull requests are very welcome!
Omingard is still work in progress.
For a more fleshed out version - not written in Om - check out the
original implementation:
Found a bug? Please create a new issue - thanks!
- Undo, which comes almost for free thanks to Om and ClojureScript's persistent data structures (cf. "Time Travel" - David Nolen).
Planned features that go beyond the original version:
- mobile friendliness: support touch events, present good mobile UI.
- play offline.
Check out this repository:
git clone git@github.com:paulwittmann/omingard.git
Watch for ClojureScript changes:
lein cljsbuild auto
Watch for CSS changes - preprocessor language: Garden via lein-garden - with:
lein garden auto
Start a web server:
python -m SimpleHTTPServer
Open http://localhost:8000
.
Refer to the excellent Lighttable ClojureScript tutorial for integrating a ClojureScript REPL with Lighttable. Or Perfect ClojureScript Development Environment With Vim for the same with vim. You should easily find similar tutorials for Emacs - e.g. Austin.
Also have a look at Weasel and Figwheel.
- run
lein cljsbuild once production
- open
http://localhost:8000/prod.html
- create a directory above the project directory named
deploy
- run
./build.sh
to copy relevant files to../deploy
(ignore warnings aboutpublic/out
not being included, we don't need it) - deploy code from
../deploy
to 5apps