Chapter 15. Dice of Doom, a Game Written in the Functional Style

Now we’re finally ready to create a more sophisticated (and fun) computer program in the functional style. As we expand this program throughout the rest of this book, you’ll learn about techniques for writing elegant functional code, while at the same time maintaining strong performance in your programs.

image with no caption

The Rules of Dice of Doom

Dice of Doom is a game in the same family as Risk, Dice Wars (http://www.gamedesign.jp/flash/dice/dice.html), and KDice (http://kdice.com/). In the beginning, we’re going to keep the rules of Dice of Doom mind-numbingly simple. In later chapters, we’ll expand ...

Get Land of Lisp now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.