/netrunner

Primary LanguageClojureOtherNOASSERTION

Build status

Play Android: Netrunner in the browser.

Live server

http://www.jinteki.net

Gameplay videos

screenshot

Card implementation status

Card rules implementation status

Development

Quickstart

Install Leiningen, NodeJS and MongoDB.

This project runs on Java 8. If you're on OSX or Linux, we recommend using jenv to manage your java environment.

You can check your setup by running

$ lein version # Your exact version numbers below may vary, but we expect Java 1.8.X
Leiningen 2.9.1 on Java 1.8.0_222 OpenJDK 64-Bit Server VM

Populate the database using:

$ lein fetch

You can optionally pass --no-card-images if you don't want to download images from NetrunnerDB, as this takes a while. See lein fetch help for further options.

To install frontend dependencies, run:

$ npm install -g bower
$ npm install -g stylus
$ bower install

To compile CSS:

$ stylus src/css -o resources/public/css/

Optionally you can pass -w to stylus to watch for changes and automatically recompile.

Compile ClojureScript frontend:

$ lein cljsbuild once dev

Alternatively, to watch ClojureScript files for changes and for access to a ClojureScript REPL, use lein figwheel.

Finally, launch the webserver and the Clojure REPL:

$ lein repl

and open http://localhost:1042/

Tests

To run all tests:

$ lein test

To run a single test file:

$ lein test game.cards.agendas-test

Or a single test:

$ lein test :only game.cards.agendas-test/fifteen-minutes

For more information refer to the development guide.

Further reading

License

Jinteki.net is released under the MIT License.