Web HTML Canvas Game - Walkable first-person American ASCII city in one HTML file. New Harbor — streets, interiors, lifts, yellow cabs.
you@github:~$ cat ascii-city.txt
PURPOSE: Walkable first-person ASCII city
SETTING: Downtown NYC / Lower Manhattan
STACK: One HTML file · Canvas 2D · DDA raycaster
STATUS: [ LIVE ]A grid of streets, parks, squares, and towers. Every frame the engine raycasts from the camera and draws the world with letters, numbers, and symbols. No Unity. No Unreal. No 3D models, textures, or shaders.
Click CLICK TO ENTER THE GRID, then walk.
Chrome or Edge recommended. Click the view to lock the mouse.
| Input | Action |
|---|---|
| WASD / arrows | Walk |
| Shift | Sprint |
| Mouse | Look |
| E / Space | Enter a building, talk, or lift up |
| Q | Lift down |
| X | Exit to the street |
| M | Minimap |
| N | Cycle weather |
| F1 | Matrix palette |
| H | Help |
| Esc | Release the mouse |
Lower Manhattan, south to the water.
- Avenues: West St, Greenwich, Hudson, Church, Broadway, Nassau, William, Pearl, Water, South St
- Streets: Chambers, Park Place, Vesey, Liberty, Wall, Exchange, Battery Place
- Parks & squares: Battery Park, Bowling Green, City Hall Park, Foley Square, Zuccotti Park, Trinity Churchyard, Hanover Square
- Landmarks: One World Trade, Woolworth Building, NYSE, Federal Hall, City Hall, Trinity Church
- Yellow cabs on the avenues. People on the sidewalks. Trees in the parks.
Every building opens. Ride the lift. Windows look back out into the same city.
you@github:~$ cat engine.txt
MAP: 112 x 112 downtown grid
RENDER: one ray per character column
WORLD: variable-height buildings, floor / roof cast
LIFE: cabs, pedestrians, rain, live window viewsNothing leaves the browser. No libraries. No bundler.
MIT. See LICENSE.
Maintained by @Ringmast4r