Implementing a checkers rival