Index

C D F G I L N O P S T V Y 
All Classes and Interfaces|All Packages|Serialized Form

C

calculateScore(Dices) - Method in enum class io.github.mathieusoysal.yatzy_mod.YatzyMod
Calculate the score for a given set of dice based on the category represented by this enum value.
calculateScore(YatzyMod, Dices) - Static method in class io.github.mathieusoysal.Yatzy
Calculate the score for the given category YatzyMod based on the given set of dice Dices.
chance(Dices) - Static method in class io.github.mathieusoysal.Yatzy
Calculate the score for the "Chance" category based on the given set of dice.
CHANCE - Enum constant in enum class io.github.mathieusoysal.yatzy_mod.YatzyMod
CHANCE Is the sum of all dice, no matter what they read.

D

Dices - Class in io.github.mathieusoysal
The Dices class represents a set of five dice used in the Yatzy game.
Dices(int, int, int, int, int) - Constructor for class io.github.mathieusoysal.Dices
Constructs a new Dices object with the values of five dice.

F

fives(Dices) - Static method in class io.github.mathieusoysal.Yatzy
Calculate the score for the "Fives" category based on the given set of dice.
FIVES - Enum constant in enum class io.github.mathieusoysal.yatzy_mod.YatzyMod
FIVES The player scores the sum of the dice that reads five respectively.
FOUR_OF_A_KIND - Enum constant in enum class io.github.mathieusoysal.yatzy_mod.YatzyMod
FOUR_OF_A_KIND The player scores the sum of four dice with the same number.
fourOfAKind(Dices) - Static method in class io.github.mathieusoysal.Yatzy
Calculate the score for the "Four of a Kind" category based on the given set of dice.
fours(Dices) - Static method in class io.github.mathieusoysal.Yatzy
Calculate the score for the "Fours" category based on the given set of dice.
FOURS - Enum constant in enum class io.github.mathieusoysal.yatzy_mod.YatzyMod
FOURS The player scores the sum of the dice that reads four respectively.
FULL_HOUSE - Enum constant in enum class io.github.mathieusoysal.yatzy_mod.YatzyMod
FULL_HOUSE The player scores the sum of all dice if they form a full house (two of a kind and three of a kind).
fullHouse(Dices) - Static method in class io.github.mathieusoysal.Yatzy
Calculate the score for the "Full House" category based on the given set of dice.

G

getDicesIntStream() - Method in class io.github.mathieusoysal.Dices
Returns an IntStream of the dice values.

I

IncorrectDiceValueException - Exception in io.github.mathieusoysal.exception
An exception indicating that an incorrect dice value was provided.
IncorrectDiceValueException() - Constructor for exception io.github.mathieusoysal.exception.IncorrectDiceValueException
Constructs an IncorrectDiceValueException with a default error message.
io.github.mathieusoysal - package io.github.mathieusoysal
 
io.github.mathieusoysal.exception - package io.github.mathieusoysal.exception
 
io.github.mathieusoysal.yatzy_mod - package io.github.mathieusoysal.yatzy_mod
 

L

LARGE_STRAIGHT - Enum constant in enum class io.github.mathieusoysal.yatzy_mod.YatzyMod
LARGE_STRAIGHT The player scores 20 if the dice form a large straight (2, 3, 4, 5, 6).
largeStraight(Dices) - Static method in class io.github.mathieusoysal.Yatzy
Calculate the score for the "Large Straight" category based on the given set of dice.

N

NullDicesException - Exception in io.github.mathieusoysal.exception
An exception indicating that a null value was provided for the dices.
NullDicesException() - Constructor for exception io.github.mathieusoysal.exception.NullDicesException
Constructs a NullDicesException with a default error message.

O

ones(Dices) - Static method in class io.github.mathieusoysal.Yatzy
Calculate the score for the "Ones" category based on the given set of dice.
ONES - Enum constant in enum class io.github.mathieusoysal.yatzy_mod.YatzyMod
ONES The player scores the sum of the dice that reads one respectively.

P

pair(Dices) - Static method in class io.github.mathieusoysal.Yatzy
Calculate the score for the "Pair" category based on the given set of dice.
PAIR - Enum constant in enum class io.github.mathieusoysal.yatzy_mod.YatzyMod
PAIR The player scores the sum of the two highest matching dice.

S

sixes(Dices) - Static method in class io.github.mathieusoysal.Yatzy
Calculate the score for the "Sixes" category based on the given set of dice.
SIXES - Enum constant in enum class io.github.mathieusoysal.yatzy_mod.YatzyMod
SIXES The player scores the sum of the dice that reads six respectively.
SMALL_STRAIGHT - Enum constant in enum class io.github.mathieusoysal.yatzy_mod.YatzyMod
SMALL_STRAIGHT The player scores 15 if the dice form a small straight (1, 2, 3, 4, 5).
smallStraight(Dices) - Static method in class io.github.mathieusoysal.Yatzy
Calculate the score for the "Small Straight" category based on the given set of dice.

T

THREE_OF_A_KIND - Enum constant in enum class io.github.mathieusoysal.yatzy_mod.YatzyMod
THREE_OF_A_KIND The player scores the sum of three dice with the same number.
threeOfAKind(Dices) - Static method in class io.github.mathieusoysal.Yatzy
Calculate the score for the "Three of a Kind" category based on the given set of dice.
threes(Dices) - Static method in class io.github.mathieusoysal.Yatzy
Calculate the score for the "Threes" category based on the given set of dice.
THREES - Enum constant in enum class io.github.mathieusoysal.yatzy_mod.YatzyMod
THREES The player scores the sum of the dice that reads three respectively.
TWO_PAIRS - Enum constant in enum class io.github.mathieusoysal.yatzy_mod.YatzyMod
TWO_PAIRS The player scores the sum of the two pairs of dice with the same number.
twoPairs(Dices) - Static method in class io.github.mathieusoysal.Yatzy
Calculate the score for the "Two Pairs" category based on the given set of dice.
twos(Dices) - Static method in class io.github.mathieusoysal.Yatzy
Calculate the score for the "Twos" category based on the given set of dice.
TWOS - Enum constant in enum class io.github.mathieusoysal.yatzy_mod.YatzyMod
TWOS The player scores the sum of the dice that reads two respectively.

V

valueOf(String) - Static method in enum class io.github.mathieusoysal.yatzy_mod.YatzyMod
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.github.mathieusoysal.yatzy_mod.YatzyMod
Returns an array containing the constants of this enum class, in the order they are declared.

Y

yatzy(Dices) - Static method in class io.github.mathieusoysal.Yatzy
Calculate the score for the "Yatzy" category based on the given set of dice.
Yatzy - Class in io.github.mathieusoysal
The Yatzy class provides static methods for calculating scores for the Yatzy game.
YATZY - Enum constant in enum class io.github.mathieusoysal.yatzy_mod.YatzyMod
YATZY If all dice have the same number, the player scores 50 points.
YatzyMod - Enum Class in io.github.mathieusoysal.yatzy_mod
The YatzyMod enum represents different scoring categories in the Yatzy game.
C D F G I L N O P S T V Y 
All Classes and Interfaces|All Packages|Serialized Form