Skip to content

Latest commit

 

History

History
99 lines (63 loc) · 2.17 KB

README.md

File metadata and controls

99 lines (63 loc) · 2.17 KB

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.