Levels and speed (Space Shooter)
Every 50 points the level goes up (t=<tick level <n after the hit that crosses it) and enemies get faster: they step down every max(1, 3 − (level − 1)) ticks. The summary adds , level <n.
Input: As before.
Output: As before.
Difficulty: Hard. Write your answer in the browser editor, run the examples, then submit it against hidden tests. Python and JavaScript are free; other languages are part of licode Club.
Hint
- Compute the step interval from the current level each tick.