JUSTE ONE FUCKIN INFO !!!
continuous-integration/drone/push Build is passing Details

test_old_branch
Jérémy Mouyon 11 months ago
parent 2e4c82d4ec
commit b9035a17fa

@ -407,7 +407,7 @@ namespace QwirkleClassLibrary
return score; return score;
} }
private int CalculateAdjacentScore(Cell cell, Board b, ReadOnlyCollection<Cell> cellsPlayed) private static int CalculateAdjacentScore(Cell cell, Board b, ReadOnlyCollection<Cell> cellsPlayed)
{ {
int score = 0; int score = 0;

@ -72,8 +72,13 @@ static void AddTile(Game game)
{ {
while (no is < 1 or > 6) while (no is < 1 or > 6)
{ {
Write("ERROR : Enter a number between 1 and 6 ! : ");
no = Convert.ToInt32(ReadLine()); no = Convert.ToInt32(ReadLine());
if (no is < 1 or > 6)
{
Write("ERROR : Enter a number between 1 and 6 ! : ");
}
} }
} }
catch catch

Loading…
Cancel
Save