Category: CodinGame

CodinGame – The Descent JavaScript Solution

CodinGame – The Descent JavaScript Solution

Task: Have your ship fire at the tallest mountain. Each turn, the ship decreases its height by 1, and it will crash into a mountain if it does not keep up shooting the tallest one each turn. The mountains go from 0 to 7.

Continue reading “CodinGame – The Descent JavaScript Solution”

Advertisements