Cytogenesis
Boid-simulation strategy game with a custom canvas engine.

About
A roguelite where you shape a flocking swarm of cells to compete against an opponent. The UI is inspired by medieval elements. It runs on a custom Canvas 2D engine built from scratch with no game framework: a fixed-timestep simulation steers Reynolds-style boids, while uniform-grid spatial hashing keeps hundreds of agents smooth.
Technical highlights
- 01Hand-made Canvas 2D engine
- 02Boid flocking simulation driving the swarm of cells
- 03Uniform-grid spatial hashing for fast neighbor lookups
- 04Seeded RNG for fully reproducible roguelite runs
- 05Event-bus architecture bridging the game loop with the React UI
Stack
- React
- TypeScript
- Vite
- Canvas 2D
- React Router
- CSS Modules