April 2012
Intermediate to advanced
296 pages
7h 3m
English
With a solid foundation, introducing an interface and a playable version of the game should be a breeze. Let’s start with a basic web application. The noir web framework will serve as a nice base for us to build our application. Creating a new noir project is easy.
First, you will need to install the lein-noir plug-in to leiningen:
$ lein plugin install lein-noir 1.2.0 |
Now we can generate our application and launch it:
$ lein noir new clojurebreaker | |
$ cd clojurebreaker | |
$ lein run |
Point your browser to http://localhost:8080. You will get the default noir landing page, which isn’t interesting to you at the moment, but it will ensure that you have things set up correctly.
This ...
Read now
Unlock full access