Dev shows Codex refactoring his game duo, proposing typed equipment APIs and staged cleanup

Dimillian · x · 2026-11-03

iOS developer Dimillian shared a screenshot of using Codex (cloud mode) to refactor the code of his game duo. The analysis flags typed equipment slots vs. raw numeric APIs, publicly exposed game state, and proposes narrowing mutation access through internal equipment APIs with conversions at save/UI boundaries. It also lays out a staged plan: shared test fixtures, weapon metadata and reset ownership first, then smaller ballistic/frame extractions. The diff shows +8176/-7810 lines on a codex/architecture-cleanup branch.

Original post →

More from coding & agent

coding & agent channel →