explaingit

emirsametguzel/escape-from-mz

Analysis updated 2026-06-24

27JavaScriptAudience · generalComplexity · 2/5LicenseSetup · easy

TLDR

A browser 3D horror game built with Three.js where a player walks a dark school, picks up books that ask English-grammar questions, and runs from an enemy called MZ.

Mindmap

mindmap
  root((Escape-From-MZ))
    Inputs
      WASD keys
      Mouse look
      Touch joysticks
    Outputs
      3D scene
      Audio cues
      Question prompts
    Use Cases
      Practice English in class
      Repurpose as quiz template
      Demo a Three.js horror loop
    Tech Stack
      Three.js
      JavaScript
      Web Audio API
      HTML
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Run an English-language quiz game in a classroom

USE CASE 2

Fork the project and swap in math, history, or science questions

USE CASE 3

Use as a template for a simple Three.js first-person game

What is it built with?

JavaScriptThree.jsHTMLCSS

How does it compare?

emirsametguzel/escape-from-mzjoeseesun/qiaomu-suno-masterdeanwhitex/aiw2.0stack
Stars272728
LanguageJavaScriptJavaScriptJavaScript
Setup difficultyeasymoderatemoderate
Complexity2/52/53/5
Audiencegeneralvibe codervibe coder

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Plain HTML and JS, opens in a browser with no build step.

All rights reserved by the author, so you cannot copy, modify, or redistribute this game without permission.

In plain English

Escape From MZ is a browser-based 3D horror game built with Three.js. The player walks around a dark school in first person, collects books that contain English-language questions, and tries to avoid a mysterious enemy called MZ. The README pitches it as a way to practice English inside a horror setting rather than a flashcard drill. Each book the player picks up triggers an English question, and the questions are organized by level: A2 for basic grammar and daily expressions, B1+ for conditionals, passive voice, and wishes, and C2 for advanced grammar and inversions. The README says there are ten questions at each of the three levels, and a game randomly draws three from each, so the player has to answer nine correctly to win. Every wrong answer costs one of three lives, and it also makes MZ run faster. Controls cover both desktop and touch screens. On a computer the player walks with W, A, S, D, looks around with the mouse, and presses E to interact. On a smart board or touch device there are two on-screen joysticks plus a red E button. A pointer-lock toggle is also exposed so the cursor can be captured for full mouse-look. The rest of the project is presented as easy to repurpose. A teacher can edit the questionDatabase object inside game.js to swap the English questions for math, science, history, or anything else, rename the enemy from MZ to their own name, change the level labels, adjust the enemy speed, edit the wall and floor colors, and swap out the sound effects and jumpscare image inside the assets folder. The README markets the game as a template for other classrooms. The project uses Three.js r128 for 3D rendering, the Web Audio API for positional sound, the Pointer Lock API for mouse capture, and plain HTML and CSS for the UI. A playable build is hosted at escapefrommz.42web.io. All rights are reserved by the creator, Emir Samet Guzel.

Copy-paste prompts

Prompt 1
Edit the questionDatabase object in game.js to add 10 B2-level questions about past perfect
Prompt 2
Change the enemy name, speed, and jumpscare image in Escape-From-MZ to make it themed for a history class
Prompt 3
Add a pause menu and lives counter HUD to the existing Three.js scene in Escape-From-MZ
Prompt 4
Replace the school walls and floor textures with classroom-friendly colors and update the CSS overlay

Frequently asked questions

What is escape-from-mz?

A browser 3D horror game built with Three.js where a player walks a dark school, picks up books that ask English-grammar questions, and runs from an enemy called MZ.

What language is escape-from-mz written in?

Mainly JavaScript. The stack also includes JavaScript, Three.js, HTML.

What license does escape-from-mz use?

All rights reserved by the author, so you cannot copy, modify, or redistribute this game without permission.

How hard is escape-from-mz to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is escape-from-mz for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.