https://github.com/pmonks/clj-chain-reaction
Clojure/ClojureScript version of ye olde "chain reaction" game
https://github.com/pmonks/clj-chain-reaction
clojure clojurescript game
Last synced: 2 months ago
JSON representation
Clojure/ClojureScript version of ye olde "chain reaction" game
- Host: GitHub
- URL: https://github.com/pmonks/clj-chain-reaction
- Owner: pmonks
- License: apache-2.0
- Created: 2018-08-13T00:38:23.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-25T16:34:20.000Z (over 5 years ago)
- Last Synced: 2025-02-10T11:11:19.557Z (4 months ago)
- Topics: clojure, clojurescript, game
- Language: Clojure
- Homepage:
- Size: 24.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.com/pmonks/clj-chain-reaction)
[](https://github.com/pmonks/clj-chain-reaction/issues)
[](https://github.com/pmonks/clj-chain-reaction/blob/master/LICENSE)
[](https://versions.deps.co/pmonks/clj-chain-reaction)# clj-chain-reaction
A cross-platform (Clojure & ClojureScript) implementation of the game described [here](http://www.atarimagazines.com/compute/issue80/chain_reaction.php).
## Installation
For now, clj-chain-reaction is provided in source form only, so git cloning!
## Usage
The game itself is implemented in the [`chain-reaction.core`](https://github.com/pmonks/clj-chain-reaction/blob/master/src/chain_reaction/core.clj) namespace,
with the `new-board` and `place-piece` fns being the primary means of playing the game.Require it in the REPL:
```clojure
(require '[chain-reaction.core :as cr] :reload-all)
```Require it in your application:
```clojure
(ns my-app.core
(:require [chain-reaction.core :as cr]))
```## Developer Information
[GitHub project](https://github.com/pmonks/clj-chain-reaction)
[Bug Tracker](https://github.com/pmonks/clj-chain-reaction/issues)
## License
Copyright © 2015 Peter Monks
Distributed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0).