moth

Monarch Of The Hill game server
git clone https://git.woozle.org/neale/moth.git

moth / example-puzzles / example / 2
Neale Pickett  ·  2021-02-24

puzzle.md

 1---
 2authors: 
 3  - neale
 4attachments:
 5  - filename: salad.jpg
 6  - filename: s2.jpg
 7    filesystempath: salad2.jpg
 8debug:
 9  summary: Static puzzle resource files
10answers: 
11  - salad
12---
13
14You can include additional resources in a static puzzle,
15by dropping them in the directory and listing them under `attachments`.
16
17If the puzzle compiler sees both `filename` and `filesystempath`,
18it changes the filename when the puzzle category is built.
19You can use this to give good filenames while building,
20but obscure them during build.
21On this page, we obscure 
22`salad2.jpg` to `s2.jpg`,
23so that people can't guess the answer based on filename.
24
25Check the source to this puzzle to see how this is done!
26
27You can refer to resources directly in your Markdown,
28or use them however else you see fit.
29They will appear in the same directory on the web server once the exercise is running.
30Check the source for this puzzle to see how it was created.
31
32![Leafy Green Deliciousness](salad.jpg)
33![Mmm so good](s2.jpg)
34
35The answer for this page is what is featured in the photograph.