Skip to content

rezwits/cardnum

 
 

Repository files navigation

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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Clojure 61.9%
  • JavaScript 35.9%
  • Stylus 2.1%
  • Other 0.1%