rezwits / cardnum

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build status

Play Middle-earth:CCG in the browser.

Live server

http://www.cardnum.net

Ch 1 - Chat and Cards

Ch 2 - Deck Building

Ch 3 - Help and Settings

Ch 4a - Resource Game Play

Ch 4b - Resource Game Play (cont.)

Ch 5 - Hazard Game Play

screenshot

Card implementation status

Card rules implementation status

Dependencies

Installation

Install frontend dependencies:

$ npm install -g bower
$ npm install -g stylus
$ lein deps
$ bower install

Launch MongoDB and fetch card data:

$ mongod --dbpath data

or on windows

$ mongod --dbpath .\data\

then:

$ lein fetch

Compile and watch client side ClojureScript files1:

$ lein figwheel

Launch web server:

  • As a REPL process (recommended for development):
    $ lein repl
    
  • As a standalone process in production mode (must first run lein uberjar and lein cljsbuild once prod):
    $ java -jar target/meccg-standalone.jar
    

Open http://localhost:1042/

Tests (unimplemented)

To run all tests:

$ lein test test.all

To run a single test file:

$ lein test test.cards.agendas

For more information refer to the development guide.

License

Cardnum.net is released under the MIT License.

1: This is only necessary the first time you run the project, or if you are working on front end changes.

About

License:Other


Languages

Language:Clojure 61.9%Language:JavaScript 35.9%Language:Stylus 2.1%Language:CSS 0.1%Language:Shell 0.0%Language:Dockerfile 0.0%