ASURA WORKS. Back to projects

Games / Turn-based roguelike

ENDLESS LANTERN

One turn at a time,
into the lantern light.

A solo browser roguelike where each player action gives enemies a turn. Choose an explorer's name and cloak color, then leave Lantern Market with equipment, food and a return scroll. The bottomless dungeon changes on every expedition. Gather items, manage hunger and descend deeper; each run ends by returning with your finds or falling and losing what you carry.

View the live project

An independent project.

Keep descending,
or bring today's finds home?

The key decision is how to end a run. A return scroll takes collected items home, while defeat loses everything carried, including starting supplies. Fullness drops by one every 10 turns; at zero, HP begins to drain. Each turn helps determine when to turn back.

At Lantern Market, store, sell or identify recovered items and buy supplies for the next expedition. Departure allows up to 10 inventory slots, including three supplied items. There are 22 item types, and unidentified items reveal their effect only when used.

A quiet world,
within reach of the light.

Deep moss-cave green is accented by a single amber light. Serif titles and headings contrast with sans-serif numbers and controls. The title illustration of a lantern-carrying explorer approaching stairs beyond a stone arch is drawn entirely with CSS shapes.

The 3D view follows the explorer from an angled overhead camera. Terrain uses Poly Haven CC0 textures, lit within the lantern's reach. Explorer, enemy and item models are low-poly forms assembled in code; the 2D view uses Canvas shapes. Music and effects are synthesized with Web Audio. Every 12 floors, the dungeon cycles through six terrains: moss caves, basalt caverns, frost hollows, watercourse caves, ash layers and star-remnant halls. Hazards vary, from slippery frost floors to burning hot tiles.

Enemy attacks,
signaled a turn ahead.

There are eight enemy types. An exclamation mark and orange area warn of attacks, including ranged shots, one turn in advance. Move out of range or behind a pillar or wall to evade them. Unseen enemies are absent from both the map and sound cues. Staying on a floor too long brings a warning, then a powerful pursuer. Shrine trials, treasure vaults and record monuments every 12 floors offer reasons to explore further.

The default 3D view uses three.js and can switch to 2D Canvas in settings. 3D quality and camera distance are adjustable, while switching preserves the board, random state and save data. Devices without 3D support fall back to 2D and continue the expedition. Key bindings, volume, display scale, contrast, reduced effects and key-repeat interval are adjustable. Entering an expedition seed before departure recreates the same dungeon layout.

Every action automatically saves in the browser, so reloading lets players continue from the title screen. Restoring a save cannot revive a defeated explorer. If two tabs are open in the same browser, only one can control the game. There are no accounts or network features, and saves are not shared across devices or browsers.

Controls move
with the screen width.

The board fills the screen, with health and fullness in a top strip and six buttons for wait, pick up, stairs, inspect, inventory and map, plus directional controls, overlaid below. Overlays leave the explorer's tile clear, and edge markers indicate off-screen enemies. Arrow keys or WASD move and attack, Space waits, G picks up items and Enter descends stairs. Layouts have been checked for horizontal overflow from 360px to 1280px wide.

Project details

Version
2.0.0
Project type
Independent project
Scope of work
Planning, design & development
Technologies
JavaScript / Canvas 2D / three.js / Vite / IndexedDB
Supported screen sizes
Desktop, tablet & mobile