This library provides a score()
function which can score a game of Yachts. It is my solution to the Exercism.org "Yacht" exercise.
See tests for usage examples, use cargo test
to run tests.
- Match guards
- Explicit enum variant discriminants
.fold()