A Cribbage engine in Java