Functional appraoch to Snake Game in Clojure.
-
Install Leiningen
-
Open terminal/command prompt and do following commands.
$ git clone https://github.com/Vikasg7/clj-snake.git $ cd clj-snake $ lein trampoline run --rows <int> -cols <int> --delay-in-ms <int>