Launch afterthoughts


Although Inform 7 is typically used for interactive fiction. Hammurabi is solidly within the simulation genre.

This project was a proof of concept to see if and how well the game could be implemented in a declarative programming language. It turned out that conventional control flow could be made implicit via state change. 

While the original BASIC program mandated that the ruler's orders be input in a fixed sequence, there was no absolute need for this sequence to be imposed. Although the resulting implicit finite state automata was not equivalent, the result was a more permissive user interface.

Leave a comment

Log in with itch.io to leave a comment.