No description, website, or topics provided.
Clone or download
Pull request Compare This branch is 329 commits ahead, 641 commits behind mtgred:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.circleci
all-pre-g
all-saves
all-states
data
fdata
resources/public
src
test/clj/game_test
.bowerrc
.gitignore
CONTRIBUTING.md
DOCKER.md
Dockerfile
LICENSE.txt
README.md
bower.json
compose.sh
dev.edn
docker-compose.yml
package.json
project.clj

README.md

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.