AI-friendly game dev rules: writing code that is easy to iterate on
2025-12-21 ・ ~6 min read
A lightweight engine makes rules obvious to AI
- Consistent structure helps AI reuse patterns
- If each game is written differently, it is hard for AI to learn from examples
- An engine provides shared conventions
- Giving AI previous games as context yields fast prototypes
Code-size constraints via Cursor rules
- Enforce readable method/file sizes
- Keeps generated code maintainable
- Avoids mega-files and long, fragile functions
Notify on completion with `say`
- Play a voice notification after tasks finish
- You can notice completion even when doing other work
- Makes context switching smoother