Skip to content

Commit

Permalink
Added structure.md
Browse files Browse the repository at this point in the history
  • Loading branch information
malloc-nbytes committed Jan 22, 2024
1 parent e76bbc7 commit 9216b3a
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/puzzle1/instructions.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ <h3 style="text-align:center">Hello Pointless</h3><p style="text-align:center">W
https://latimesblogs.latimes.com/technology/2011/08/google-vic-gundotra-steve-jobs.html
Computers are good at following instructions, but not at reading your mind. -- Donald Knuth
<br /> <br />
As you might expect, you need a Plot Coupon to unlock the next Level. For the first challenge... <b>what is 3+7?</b></p></div>
As you might expect, you need a Plot Coupon to unlock the next Level. For the first challenge... <b>what is 2+8?</b></p></div>

</div>
<div class="footer">
Expand Down
37 changes: 37 additions & 0 deletions structure.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Structure

## Building

Clean the build:
```
./build.sh c
```

Build normally:
```
./build.sh
```

Build clean then build normally:
```
./build.sh a
```

## Structure of Output

Upon running `./main`, it will populate the `zipfiles` directory.
The zipfiles in here will be the generated output from the program.

Each zip file is put into this directory, but if you want to view
the nested zips, just open `puzzle1.zip` and follow the instructions.

# Development

## New Puzzle

When adding a new puzzle, create a new `puzzle`N directory. Inside of here,
put any files that it needs (ie configuration files, premade files) and prefix
the name of the file with `.`. The `walkdir()` function will ignore any
dotfiles/hidden directories. It will also explore any subdirectories that is inside
of the puzzle directory that you have created. If any of the files are not prefixed with `.`,
then that file will be added to the final zipped version of it.

0 comments on commit 9216b3a

Please sign in to comment.