Next: , Previous: Designing levels, Up: Hacker's guide


3.2 Architecture

3.2.1 C + Guile

Technically, Liquid War 6 is a collection of C functions which are exported to Guile. The main binary embeds a Guile interpreter, which will run a Guile script. This script calls the exported C functions, and glues them together.

3.2.2 Internal libraries

The C code is splitted into several internal libraries. This allow independant testing of various game modules.