Set up an HTML puzzle - PuzzleServer/mainpuzzleserver GitHub Wiki
This page describes how to set up a puzzle that uses an HTML page.
Note: these same instructions can be used for uploading either the puzzle files or the solution files.
This assumes you have already completed the "Step 1: Add the puzzle entry" for your puzzle
-
Go to the "Files" page
-
Scroll down to "Materials" and upload a zip of the folder containing your HTML and CSS artifacts.
It is generally good practice to name the folder the same name as your puzzle so that it doesn't conflict with other materials uploaded by other people -
Check the box that says "
<- Check this box to automatically extract the contents of zip files in materials or solve tokens into the same directory
" -
Click "Upload"
-
If it was successful, you should see the files under the "materials" section
-
Right click on the main HTML file to get the URL
-
Go to the "Details" page and paste that URL into the
CustomURL
section.
If your HTML file is for the solutions, you can paste it in theCustomSolutionURL
-
Preferrably, please replace the event number with
{eventId}
, so in the above example we would
converthttps://puzzlehunt.azurewebsites.net/4/Files/ApplestoApples%2Fapples-to-apples.html
tohttps://puzzlehunt.azurewebsites.net/{eventId}/Files/ApplestoApples%2Fapples-to-apples.html
-
You will know it was done correctly if you go back to the puzzles page and are able to click the "Link" button.
You will notice that regular non-HTML puzzles will show up as a "File"