Skip to content

adcloud/clojure-intro-workshop

Repository files navigation

Game of Life

Clojure Introduction

In this workshop, we create a game which combines simple rules to create complexity. Modelled on life, this game's rules were inspired by birth, death and survival.

This repo contains:

  • a starter-kit for programming the Game of Life.
  • examples which you can mold to your ends.

Install

  • git clone git@github.com:adcloud/clojure-intro-workshop.git
  • Install leiningen.
  • Somewhere under the project folder, run lein deps
  • You can start an interactive repl with lein repl

Let's start!

Testing (TDD/BDD)

We have included speclj. It's a TDD/BDD framework in Clojure.

You can run all test with lein spec.

Run lein spec -a for autotesting - will run every time a file is changed.

Find the tests in spec/clojure_intro_workshop/core_spec.clj.

Cheat sheets

License

Copyright © 2013 Waldemar Schwan, Tj Gabbour

Distributed under the Eclipse Public License, the same as Clojure.

About

Our "getting to know clojure" workshop.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published