Neon Demo Arcade

Examples

Every browser-facing example currently shipped from this repository, from the smallest starter walkthroughs to the larger flagship demos.

Starter Examples

Small, focused examples that teach one public API story at a time.

examples/evolveXor

Evolve XOR (NeatapticTS)

A bounded feed-forward NEAT run on XOR that now reaches a solved state and shows the smallest end-to-end evolutionary loop in the repo.

Run locally: npm run example:evolve-xor

examples/helloNetwork

Hello Network (NeatapticTS)

The smallest public-network walkthrough: build one compact feed-forward network, run one inference pass, and inspect the result shape immediately.

Run locally: npm run example:hello-network

examples/sequenceReset

Sequence Reset (NeatapticTS)

A tiny LSTM example that feeds the same input sequence three times to show state accumulation, the effect of clear() after a run, and the carryover effect when clear() is skipped.

Run locally: npx tsx examples/sequenceReset/run.ts

Flagship Demos

Larger browser-facing systems that show the library under more realistic pressure.

examples/asciiMaze

ASCII Maze (NeatapticTS)

A compact navigation lab with browser playback, reward shaping, telemetry-rich search, and a deliberately small observation budget.

examples/flappy_bird

Flappy Bird (NeatapticTS)

A fast browser neuroevolution system with worker-backed playback, temporal observations, and a full inspectable runtime architecture.

examples/neatChat

NEATchat (NeatapticTS)

A published browser contract preview for the tiny sequence-learning chat demo, with a visible chat shell, staged progress, and the reused Flappy visualizer boundary.

Run locally: npx tsx examples/neatChat/run.ts