Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mdw-cc/ttt-reagent

Tic Tac Toe, but client-side, written in reagent.
https://github.com/mdw-cc/ttt-reagent

Last synced: 1 day ago
JSON representation

Tic Tac Toe, but client-side, written in reagent.

Awesome Lists containing this project

README

        

# ttt-reagent

## Requirements

1. [Clojure](https://clojure.org/)
1. [Leiningen](https://leiningen.org/)
1. [PhantomJS](https://phantomjs.org/)

## Commands:

1. `lein test1` - Runs tests
1. `lein tests` - Runs tests continuously on detection of changes
1. `lein prod1` - Compiles ClojureScript to javascript
1. `lein prods` - Compiles ClojureScript to javascript continuously on detection of changes
1. `lein clean` - Deletes all compiled artifacts.

## Play Local Instance:

Run `lein prod1` and navigate in a web browser to the file at `/resources/public/index.html`.

```
$ lein prod1 && open $(pwd)/resources/public/index.html
```

## Play Online Instance:

Navigate to https://mdwhatcott.github.io/ttt-reagent/resources/public/