Algorithmic adequacy is vital in computer-based games because designers control algorithms, because users cannot safely change algorithms, because elegant algorithms reduce programming errors, and because intrinsically valid algorithms increase a game's flexibility. Although algorithmic errors can remain unnoticed, this is generally more true of errors deliberately introduced by a researcher than of errors inadvertently made by a programmer. Besides being valid, good algorithms are comprehensible and clearly structured. When comprehensible algorithms are accompanied by configurable parameters, instructors can readily adapt the game, and create strategic decision-making situations, thereby opening new possibilities for learning and research.