Skip to content

Puzzle Structure

Justice Roberts edited this page Oct 31, 2022 · 2 revisions

Puzzles should be in the puzzles/ directory and should have the following structure:

puzzles
    puzzles/<PuzzleName>
        <PuzzleName>.cpp
        [resources/]
            [any resource files you need]

congrats.zip is seen as its own "puzzle" and is contained in the puzzles/ directory Files used across many puzzles should be put in the puzzles/resources directory

We should have an output folder puzzles/out/ which contains the output generated by the puzzle. Puzzles should clean up after themselves.

Clone this wiki locally