life0fun / omdotster

re-implement dotster game with om

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dots with OM

The final frontier is here, om integrates React.js and core.async and acheieves data flow programming with scale.

We demonstrate the power of om with an implemenation of Dotster Game.

The original Dotster game is implemented in ClojureScript using the Core.async library. See the blog post explaining the game

The Improvement

The dotsters directory contains bug fixes and major code refactors that helps beginner to understand core.async patterns.

The om directory contains the re-implements using om. om is the final frontier of front-end, as it builds on top of react.js and using core.async for inter-component communication. With react.js, we build UI fragement using functions. With core.async, communication is based on data and work can be split and distributed across webworkers.

Usage

To build om dotsters,

cd om lein cljsbuild once dots

Then open dots.html to view the dots page.

License

Copyright © 2014

Distributed under the Eclipse Public License, the same as Clojure.

About

re-implement dotster game with om


Languages

Language:Clojure 53.8%Language:CSS 45.9%Language:Ruby 0.2%