|
@ -107,7 +107,7 @@ int getWinnings(char symbols[], int bet){ |
|
|
|
|
|
|
|
|
if (symbols[i * ROWS] == symbols[i * ROWS + 1] && symbols[i * ROWS] == symbols[i * ROWS + 2]) { |
|
|
if (symbols[i * ROWS] == symbols[i * ROWS + 1] && symbols[i * ROWS] == symbols[i * ROWS + 2]) { |
|
|
|
|
|
|
|
|
switch(symbols[i]){ |
|
|
|
|
|
|
|
|
switch(symbols[i * ROWS]){ |
|
|
case 'A': winnings = bet * 3; break; |
|
|
case 'A': winnings = bet * 3; break; |
|
|
case 'B': winnings = bet * 5; break; |
|
|
case 'B': winnings = bet * 5; break; |
|
|
case 'C': winnings = bet * 10; break; |
|
|
case 'C': winnings = bet * 10; break; |
|
|