Skip to content

Latest commit

 

History

History

puzzled_pirates_blockade

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Puzzled Pirates: Blockade! Web, 600 points

Special thanks to zwad3 for testing this problem.

Problem Description

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!

Deployment

Run make in the problem directory to generate the handout. Launching is handled with slingshot.

Solution

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.