/nature-of-code

Nature of code exercises and examples implemented in Common Lisp

Primary LanguageCommon Lisp

Nature of code

Nature of code examples and exercises implemented in Lisp using trivial-gamekit.

Example gif

Installation and usage

  1. You'll first have to add cl-bodge to quicklisp, as per the install instructions of trivial gamekit: (ql-dist:install-dist "http://bodge.borodust.org/dist/org.borodust.bodge.txt")

  2. Make sure quicklisp is able to detect this package (e.g. put it in ~/quicklisp/local-projects).

  3. (ql:quickload :nature-of-code)

  4. Run a sketch using for example (nature-of-code.introduction.example-1:start-sketch). You can find these snippets in the README of each example.

Some notes:

  • trivial-gamekit only supports 2D animations, so examples and exercises involving 3D are omitted.
  • The directory structure is set up to be easily browsable. This makes the ASDF definition kinda ugly.

Table of contents