What problem does it explore?
Most text on the web is passive. Text Invaders asks what happens when layout becomes playable, collision-driven, and responsive to destruction in real time.
Shoot words. Break layout. Reflow the battlefield.
About The Project
Text Invaders reimagines Space Invaders as a text-only terminal breach. It is built for players, designers, developers, and creative coding enthusiasts who want to explore what happens when layout becomes playable.
What Is Text Invaders?
It is built for players, designers, developers, and creative coding enthusiasts who want to explore how text can behave like game geometry instead of static content.
Most text on the web is passive. Text Invaders asks what happens when layout becomes playable, collision-driven, and responsive to destruction in real time.
It is aimed at players who enjoy experimental browser games and at builders who care about text rendering, interaction design, and expressive interfaces.
The project combines ASCII terminal aesthetics, text-only UI, and Pretext-powered line wrapping to create a browser game that feels technical, playful, and citation-friendly.
Core Features
A full-screen canvas experience wrapped in a text-only interface with CRT-inspired overlays and HUD panels.
Words are parsed into destructible entities, so content becomes level geometry instead of background decoration.
When letters or blocks disappear, surrounding text recomputes its layout so the battlefield keeps changing.
The project uses Pretext to prepare and position text segments precisely enough for gameplay and interaction.
Multiple waves, upgrades, and power-ups make the demo feel like a game instead of a one-screen prototype.
Players can inject their own text into the first wave, which makes the project useful as both a game and a typography demo.
How It Works
Built With
The app is built as a fast-loading TypeScript project with a lightweight Vite toolchain.
Gameplay, particles, enemy motion, and the primary text battle surface are rendered in canvas.
Pretext handles the text layout foundation that makes dynamic wrapping and segment-aware positioning possible.
How It Differs
FAQ
Text Invaders is an ASCII-style browser game and creative web experiment that transforms text into destructible enemies and reflows the remaining layout after each hit.
The system prepares text as positioned segments, maps those segments into game entities, and then recomputes layout when collisions remove characters or blocks.
Pretext is the layout engine behind the text preparation step. It is used because the game depends on precise text positioning and reliable reflow when the battlefield changes.
It is both. The project is fully playable, but it also demonstrates how dynamic text layout can be used as a game mechanic and interface material.