You are browsing as a guest. Sign up (or log in) to start making projects!

2h 41m 43s logged

  • Hooked up input (wasd, arrows, hjkl, all of it)
  • Built the real main loop with terminal setup, and it was playable start to finish
  • Hit a bug where every keypress moved me twice. Some terminals send a press and a release event and I was reacting to both. One-line fix once I understood it
  • Added saving. Hand-wrote the whole save format instead of using serde, dumping the map, monsters, inventory, and even the rng state to a text file
  • Save works suspend-style, so it deletes on load and you can’t save-scum death
  • Had a nasty bug parsing the rng state as an i64 when it’s a u64, so big values silently failed to load. Lost an hour to one wrong type
  • Five evenings and it’s a real, funny little roguelike that saves and runs in any terminal
  • Learned a ton of Rust. Calling it done
0
4

Comments 0

No comments yet. Be the first!