Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
CardTypes.hpp File Reference
#include <array>
#include <cstddef>
#include <cstdint>
Include dependency graph for CardTypes.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  monopoly::rules::CardDeck
 

Namespaces

namespace  monopoly
 
namespace  monopoly::rules
 

Enumerations

enum class  monopoly::rules::CardType : std::uint8_t {
  monopoly::rules::None = 0 , monopoly::rules::ChanceGoDirectlyToGo = 1 , monopoly::rules::ChanceGoToStCharlesPlace , monopoly::rules::ChanceGoToNearestUtility ,
  monopoly::rules::ChanceGet150FromBank , monopoly::rules::ChanceGet50FromBank , monopoly::rules::ChancePay50ToEachPlayer , monopoly::rules::ChanceGoToBoardwalk ,
  monopoly::rules::ChanceGoToReadingRailroad , monopoly::rules::ChanceGoToNearestRailroadPayDouble1 , monopoly::rules::ChanceGoToNearestRailroadPayDouble2 , monopoly::rules::ChancePay25EachHouse100EachHotel ,
  monopoly::rules::ChanceGetOutOfJailFree , monopoly::rules::ChancePay15ToBank , monopoly::rules::ChanceGoToIllinoisAvenue , monopoly::rules::ChanceGoDirectlyToJail ,
  monopoly::rules::ChanceGoBackThreeSpaces , monopoly::rules::CommunityGet100FromBank1 = 65 , monopoly::rules::CommunityGet100FromBank2 , monopoly::rules::CommunityGet100FromBank3 ,
  monopoly::rules::CommunityGet10FromBank , monopoly::rules::CommunityGetOutOfJailFree , monopoly::rules::CommunityPay50ToBank , monopoly::rules::CommunityGet200FromBank ,
  monopoly::rules::CommunityGet20FromBank , monopoly::rules::CommunityPay40EachHouse115EachHotel , monopoly::rules::CommunityGoDirectlyToJail , monopoly::rules::CommunityGet45FromBank ,
  monopoly::rules::CommunityGet50FromEachPlayer , monopoly::rules::CommunityGoDirectlyToGo , monopoly::rules::CommunityPay150ToBank , monopoly::rules::CommunityGet25FromBank ,
  monopoly::rules::CommunityPay100ToBank
}
 
enum class  monopoly::rules::DeckType : std::uint8_t { monopoly::rules::Chance = 0 , monopoly::rules::Community , monopoly::rules::Count }
 

Variables

constexpr std::uint8_t monopoly::rules::ChanceFirst = 1
 
constexpr std::uint8_t monopoly::rules::ChanceCount = 16
 
constexpr std::uint8_t monopoly::rules::CommunityFirst = 65
 
constexpr std::uint8_t monopoly::rules::CommunityCount = 16
 
constexpr std::size_t monopoly::rules::MaxCardsInDeck = 16