https://github.com/chouffe/snake
Snake Game in ClojureScript (re-frame)
https://github.com/chouffe/snake
Last synced: over 1 year ago
JSON representation
Snake Game in ClojureScript (re-frame)
- Host: GitHub
- URL: https://github.com/chouffe/snake
- Owner: Chouffe
- Created: 2016-03-01T04:39:30.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-01T04:39:55.000Z (over 10 years ago)
- Last Synced: 2025-01-20T22:22:58.539Z (over 1 year ago)
- Language: Clojure
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# snake
A [re-frame](https://github.com/Day8/re-frame) application designed to ... well, that part is up to you.
## Development Mode
### Run application:
```
lein clean
lein figwheel dev
```
Figwheel will automatically push cljs changes to the browser.
Wait a bit, then browse to [http://localhost:3449](http://localhost:3449).
### Run tests:
```
lein clean
lein doo phantom test once
```
The above command assumes that you have [phantomjs](https://www.npmjs.com/package/phantomjs) installed. However, please note that [doo](https://github.com/bensu/doo) can be configured to run cljs.test in many other JS environments (chrome, ie, safari, opera, slimer, node, rhino, or nashorn).
## Production Build
```
lein clean
lein cljsbuild once min
```