Pulse Maze

Pulse Maze is a rhythm-locked grid puzzle hybrid. You move on every beat through a small pulsing grid, timing each direction input to the music, weaving between rhythm-driven doors, raising spikes, and moving tiles. 12 hand-designed levels across three chapters at 80, 100/110, and 130/140 BPM. Audio-clock-driven timing judgments (perfect / good / miss).

How to play

  1. Press Space (or tap the canvas) to start the track. A 4-beat audible count-in plays before scoring begins.
  2. On each beat, press a direction (↑↓←→ or WASD). Move resolves AT the next beat tick — the engine judges timing against the audio clock.
  3. Perfect (within ±60 ms) and Good (±150 ms) keep your chain; outside the window is a miss and the chain breaks.
  4. Doors open and close on a beat cycle. Spikes raise on certain beats. Plan two beats ahead before you commit.
  5. Reach the glowing exit ring. Stars: 95% non-miss = ★3, 80% = ★2, finish = ★1.

Tips

FAQ

Why is the timing judged against the audio clock instead of the visual?
Browser RAF can drift by several milliseconds per frame, especially on a non-vsync display. The Web Audio context's currentTime is sample-accurate, so a perfect tap that feels right always reads as perfect — no unfair misses.
Can I tap early and have it count for the next beat?
Yes — if you tap within ±150 ms of a beat's centre, it scores against that beat. Tapping in the middle between two beats is a miss for the upcoming one.
What happens if I press two different directions during one window?
Only the latest input before the beat resolves counts. So you can change your mind mid-window without penalty.
Why does my run lose if a spike rises under me?
Hazards are checked at the moment of beat resolution, after environment events have advanced. If a spike rose on the same beat you arrived at its cell, you take the hit.

Pulse Maze

节拍迷宫是节奏与网格谜题的混合体。在小型脉动网格上,每拍走一格,跟着音乐打方向键;穿过节奏驱动的门、躲开升降尖刺、避开移动方块。12 关手工设计、3 章节,BPM 从 80 到 140。判定基于音频时钟(完美 / 良好 / 失败),确保每个时机都公正。

玩法

  1. 按空格(或点画布)开始,先播 4 拍的可听预备节奏,然后才计分。
  2. 每拍按一次方向(↑↓←→ 或 WASD)。移动会在下一拍中心结算,由引擎对照音频时钟判定时机。
  3. 完美(±60ms)和良好(±150ms)都保持连击;超出窗口算 miss,连击断开。
  4. 门按拍循环开闭,尖刺按特定拍升起。提前两拍规划走位。
  5. 走到发光的出口环。命中率 95% = ★3,80% = ★2,通关 = ★1。

玩法技巧

常见问题

为什么判定基于音频时钟而不是画面?
浏览器 RAF 每帧可能漂移几毫秒,尤其在无 vsync 的显示器上;Web Audio 上下文的 currentTime 是采样精度,所以"感觉对的完美"一定判完美 —— 不会冤枉。
提前点能算下一拍吗?
可以,只要在某一拍中心 ±150ms 内点,就算这一拍。两拍正中间点,会被算成下一拍的 miss。
一拍内多次按方向算哪一次?
只算结算前最后一次,所以中途改方向也不扣分。
尖刺在我脚下升起就死了?
是的。危险判定在每拍结算后(环境事件已经推进)。如果尖刺正好在你抵达那一拍升起,就会被击中。