How to build a mystery game website
Open a working mystery game, change its branding and export the public files. Follow real configuration examples and a pre-publishing checklist.
KitForAI ·

Start with a working game
This walkthrough uses the actual files in the KitForAI Mystery Website Kit. You customize a finished site containing three cases and nine puzzles instead of writing a puzzle engine from scratch.
Extract the entire ZIP, read START.html and open index.html in your browser. Playing requires no server, account or API key. The public demo lets you try record matching, timeline ordering and deeper deduction before buying.
- Switch between English and Korean to check the case library and hints.
- Keep the extracted folder together; do not move index.html on its own.
- Node is used for story validation and Python for the publishing helper. Neither is needed to play.
Change the brand in one file
Open brand-config.js in a text editor and use the example below as a starting point. Night Archive is an illustrative brand, not a customer example. Preserve both language names and the quotation marks. Set defaultLanguage to en to start in English.
storageNamespace separates saved progress when visitors opt in to saving. Use a different value for each game on the same hosting origin. Changing it after launch makes the previous namespace’s saved progress inaccessible to the renamed game.
window.KIT_CONFIG = {
"defaultLanguage": "en",
"brand": {
"ko": "밤의 기록실",
"en": "Night Archive"
},
"storageNamespace": "night-archive-v1"
};Export only the public files
Reopen index.html and check both brand names. With Python 3.11 or later installed, open a terminal in the kit folder and run the command below. It copies six runtime files into a new public-site folder.
Upload only the contents of public-site to your static host. Keep the guides, license and original ZIP in your private working folder. The helper refuses to overwrite a non-empty output folder; choose a new folder name for another export. Hosting and domains are separate purchases.
python3 publish.py --output public-siteCheck the published URL
A successful local preview does not verify the hosted site. Open the actual public URL and test the devices you intend to support.
- Check your brand name and the English/Korean language switch.
- Play all three cases, including wrong answers, hints, basic endings and optional deeper endings.
- Check both opt-in saved progress and play without saving.
- Check that records and answer buttons remain readable on a phone.
- Make sure private guides and the purchased ZIP are not in the public folder.
Understand the commercial scope
The kit costs $39 USD once and includes Korean and English editions. You may operate your finished branded site commercially or build a finished client website. Reselling or redistributing the kit as a template is not permitted.
Accounts, visitor payments, leaderboards and a continuing supply of new cases are not included. Answers can be inspected in the browser source, so this is not a secure competition engine. Help with opening files, brand settings and the documented publishing process is included; bespoke development and managed hosting are not.