Special thanks to zwad3 for testing this problem.
Officers, here's the situation! We be in a blockade, vyin' for control of Admiral Island! If we win, we gain control of vast riches beyond our wildest dreams! However, me quartermaster be sayin' this be not possible — he be sayin' that "the blockade started thirty minutes ago" and "we don't have enough cannonballs" and that it be "numerically impossible for us to make up the point deficit in the allotted time." But today we prove him wrong! We may be outgunned and outshipped, but we will take this island! Who's with me!?
The Battle for Admiral Island! (600 points). This island will be ours!
Run make
in the problem directory to generate the handout. Launching is handled with slingshot.
This is based on this TypeORM issue (created after the CTF ended). Optimizing for points requires careful analysis of how Node's event loop works (or tons of trial and error). See the solution
directory for a short writeup, my solution script, and some images documenting the ship movement that the script uses.