mysteryhunt / puzzle-www

Code for the MIT Mystery Hunt website.
https://www.mit.edu/~puzzle/
5 stars 0 forks source link

MIT Mystery Hunt / Puzzle Club Website

Code for the MIT Mystery Hunt / Puzzle Club website. On the Puzzle Club Athena locker at /mit/puzzle/www.

Development

To edit a page, do not edit the HTML directly. Instead, edit the markdown file under the src directory.

The src directory should never have any non-markdown files. It should all go in the top-level directory.

We use htm, Preact with preact/compat, and goober. You can pretend that htm+Preact is the same as JSX+React, with some minor differences. The goober part is a way to put CSS in JS, plus nice add-ons like nesting. The file package.js contains the three libraries above bundled together in a single export. To add more libraries to the export, you can bundle them yourself and then replace the file.

Updating new hunt

Todo