Browse Source

the breakout demo now uses a randomly chosen level

feature/2015
Christian Kroll 15 years ago
parent
commit
fc961bf0ce
  1. 2
      games/breakout/breakout.c

2
games/breakout/breakout.c

@ -44,7 +44,7 @@ void borg_breakout(uint8_t demomode)
uint8_t level; uint8_t level;
if (demomode) if (demomode)
{ {
level = 4; level = random8() % 5;
ignorescore = 1; ignorescore = 1;
} }
else else

Loading…
Cancel
Save