An updated version of the classic "Basic Computer Games" book, with well-written examples in a variety of common MEMORY SAFE, SCRIPTING programming languages. See https://coding-horror.github.io/basic-computer-games/
An implementation of Hammurabi in Perl. There's a fix for a possible bug in calculating the final average percentage of starved people, for the rest it's pretty faithful to the original.
The game logic and the UI are completely separated, so it's theoretically possible to re-implement it in Curses or some other UI tool.
An implementation of Hammurabi in Perl. There's a fix for a possible bug in calculating the final average percentage of starved people, for the rest it's pretty faithful to the original.
The game logic and the UI are completely separated, so it's theoretically possible to re-implement it in Curses or some other UI tool.