![]() |
Cluedo Solver v1.0
Cluedo game solver making deductions.
|
A series of utilities for the cards. More...
#include <Card.hpp>
Classes | |
struct | CardIterator |
An iterator for cards. More... | |
struct | cards |
Helper class for iterator on all the cards. More... | |
struct | cards_per_category |
Helper class for iterator on all the cards of a category. More... | |
Static Public Member Functions | |
static constexpr CardCategory | card_category (Card card) |
Static Public Attributes | |
static constexpr std::size_t | CARD_COUNT = static_cast<std::size_t>(Card::_Count) |
The number of cards in Cluedo. | |
static constexpr std::array | card_categories { CardCategory::Suspect, CardCategory::Weapon, CardCategory::Room } |
The categories of the cards stored as an array. | |
A series of utilities for the cards.
|
inlinestaticconstexpr |
Returns the category of a card.
card | The card of which to get the category. |