Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (16 sloc) 1.257 kb
(defproject battleships "1.0.0-SNAPSHOT"
:description "I wrote this project to be used in the London Clojure Dojo, which meets every month. The motivation was that it is difficult to produce something satisfying in the short
time we have at the dojo every month. On a couple of occasions groups have spent more time setting up a development environment than they have writing code. I wanted to produce something
that would enable groups to get coding quickly, and have something satisfying by the end of the session.
The idea is that teams will start with demo.clj, and modify it. The aim is to implement 2 functions which will play a game of battleships. The 2 functions are for placing the ships at the
beginning of the game, and then firing shots at the opponents ships. The winner is the player who sinks all of the opponent's ships first."
:dependencies [[org.clojure/clojure "1.3.0"]
[ring/ring-core "1.0.0-beta2"]
[ring/ring-jetty-adapter "1.0.0-beta2"]
[compojure "0.6.5"]
[clj-http "0.2.3"]
[hiccup "0.3.7"]
[clojail "0.5.0"]]
:dev-dependencies [[lein-ring "0.4.5"]]
:main battleships.core
:ring {:handler battleships.server/handler})
Jump to Line
Something went wrong with that request. Please try again.