Files
basic-computer-games/23_Checkers/ruby/checkers.rb
Chris Reuter 40becf6e66 Bug fix for Ruby version of Checkers
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.
2021-11-29 13:37:56 -05:00

18 KiB