/spy-master

An online game inspired by Codenames

Primary LanguageCSSEclipse Public License 1.0EPL-1.0

spy-master

A party game inspired by Codenames. Best with more than 4 players.

Play at Spymaster.rocks, a JAMstack clojurescript app hosted by Netlify

Development mode

To start the Figwheel compiler, navigate to the project folder and run the following command in the terminal:

lein figwheel

To start sass compiler

lein sass4clj auto

To connect to nrepl

lein repl :connect

Figwheel will automatically push cljs changes to the browser. The server will be available at http://localhost:3449 once Figwheel starts up.

Figwheel also starts nREPL using the value of the :nrepl-port in the :figwheel config found in project.clj. By default the port is set to 7002.

The figwheel server can have unexpected behaviors in some situations such as when using websockets. In this case it's recommended to run a standalone instance of a web server as follows:

lein do clean, run

The application will now be available at http://localhost:3000.

Optional development tools

Start the browser REPL:

$ lein repl

The Jetty server can be started by running:

(start-server)

and stopped by running:

(stop-server)

Production Build

lein do clean, cljsbuild once min