skip to content
back to work
● 06 · java developer · 2024

byow — world generation engine

procedural world generation in java: rooms, hallways, seed-based generation, bfs pathfinding, save/load persistence, hud overlays, tile-based logic — all from scratch.

  • java
  • algorithms
  • game systems

byow (“build your own world”) was the capstone project for cs 61b. the engine generates a 2d tile world from a single seed string and renders it through the course’s tile-rendering library.

key pieces:

  • room/hallway placement using a randomized partitioning with a guarantee of connectivity.
  • bfs pathfinding for npc movement and visibility.
  • persistence via a simple text serialization of the world state, plus a “replay last seed” mode for deterministic debugging.
  • hud showing tile-under-cursor info and current step count.

every byte of state, every algorithm, written from scratch. no game engine.