/rusty-yacht

My solution to the Exercism.org "Yacht" exercise.

Primary LanguageRust

Yacht Scoring

This library provides a score() function which can score a game of Yachts. It is my solution to the Exercism.org "Yacht" exercise.

Usage

See tests for usage examples, use cargo test to run tests.

Concepts reviewed

  • Match guards
  • Explicit enum variant discriminants
  • .fold()