Monarch Of The Hill - base infrastructure for computer-based puzzle contests
Go to file
Neale Pickett a93bc5be85 Twiddle changelog 2024-04-18 10:28:59 -06:00
.github/ISSUE_TEMPLATE Remove github workflow 2021-11-05 14:30:06 -06:00
.vscode mkpuzzle working in dev mode 2020-09-11 13:03:19 -06:00
build Include moth-devel.bat in win artifacts 2023-12-06 17:22:45 -07:00
cmd Make all paths absolute 2024-04-09 11:54:39 -06:00
contrib download everything doc + script 2023-11-21 13:05:55 -07:00
docs Twiddle a bit 2023-12-11 11:40:21 -07:00
example-puzzles Workspaces: graceful failover 2024-04-08 17:08:24 -06:00
pkg Get extra field working, fix a few error messages 2024-01-03 15:56:20 -07:00
theme Oops, revert intentional typo 2024-04-17 17:31:17 -06:00
.dockerignore oops 2020-09-18 12:58:35 -06:00
.gitignore Make all paths absolute 2024-04-09 11:54:39 -06:00
.gitlab-ci.yml Include moth-devel.bat in win artifacts 2023-12-06 17:22:45 -07:00 Twiddle changelog 2024-04-18 10:28:59 -06:00 Document changes 2024-04-17 11:43:02 -06:00 make the report card link to the report card 2023-09-27 16:16:04 -06:00
go.mod NOPE 2024-01-19 12:29:23 -07:00
go.sum NOPE 2024-01-19 12:29:23 -07:00

Dirtbags Monarch Of The Hill Server

Go report card

Monarch Of The Hill (MOTH) is a puzzle server. We (the authors) have used it for instructional and contest events called "Tracer FIRE", "Project 2", "HACK", "Queen Of The Hill", "Cyber Spark", "Cyber Fire", "Cyber Fire Puzzles", and "Cyber Fire Foundry".

Information about these events is at

A few things make MOTH different than other Capture The Flag server projects:

  • Once any team opens a puzzle, all teams can work on it (high fives to DC949/Orange County for this idea)
  • No penalties for wrong answers
  • No time-based point deductions (if you're faster, you get to answer more puzzles)
  • No internal notion of ranking or score: it only stores an event log, and scoreboards parse it however they want
  • All puzzles must be compiled to static content before it can be served up
  • The server does very little: most functionality is in client-side JavaScript

You can read more about why we made these decisions in philosophy.

Run in demonstration mode

docker run --rm -it -p 8080:8080

Then open http://localhost:8080/ and check out the example puzzles.


  • Development: The development server lets you create and test categories, and compile mothballs.
  • Getting Started: This guide will get you started with a production server.
  • Administration: How to set hours, and change setup.

Contributing to MOTH

Please read our contributing guide.