Browse Source

Anzeige der Windstärke eingefügt

main
fdai7037 2 years ago
parent
commit
d006feeb45
  1. 7
      src/Paper-Bin.c

7
src/Paper-Bin.c

@ -211,6 +211,13 @@ void Generatefield() {
field[3][1] = lifeCount < 3 ? 'X' : 'O'; field[3][1] = lifeCount < 3 ? 'X' : 'O';
field[2][1] = lifeCount < 2 ? 'X' : 'O'; field[2][1] = lifeCount < 2 ? 'X' : 'O';
field[3][1] = lifeCount < 3 ? 'X' : 'O'; field[3][1] = lifeCount < 3 ? 'X' : 'O';
if (windForce > 0)
{
field[19][1] = windForce < 0 ? '<' : '>';
field[20][1] = windForce < 0 ? (windForce * -2 + '0') : (windForce + '0');
}
} }
void addScoreboard() void addScoreboard()

Loading…
Cancel
Save