mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 07:10:42 -08:00
We were using the result of Board.make_move!() to determine whether the current player could jump again. This worked by accident but was not part of the specified interface. I've changed the code to ignore the return value and instead query the move object itself.
Original source downloaded from Vintage Basic
Conversion to Ruby
This version preserves the underlying algorithms and functionality of the original while using more modern programming constructs (functions, classes, symbols) and providing much more detailed comments. It also fixes some (but not all) of the bugs.