Code/SlotSymbol.cs
namespace Casino.RpSlot;
public enum SlotSymbol
{
Cherry,
Lemon,
Orange,
Bell,
Bar,
Seven,
Jackpot
}
// idx = col * 3 + row (col 0-2 gauche→droite, row 0-2 haut→bas)
public static class SlotPaylines
{
public static readonly int[][] Lines = new[]
{
new[] { 0, 3, 6 }, // rangée haute
new[] { 1, 4, 7 }, // rangée médiane
new[] { 2, 5, 8 }, // rangée basse
new[] { 0, 4, 8 }, // diagonale \
new[] { 2, 4, 6 }, // diagonale /
};
public static readonly string[] LineNames =
{
"Haut", "Milieu", "Bas", "Diagonale \\", "Diagonale /"
};
}