ArchanjoGabriel/chip8-emulator ? reverse-engineered prompt
Reverse engineered prompt
Build me a complete CHIP 8 emulator in modern C++ that runs classic CHIP 8 ROMs and feels like a real little retro machine.
I want it to open a window, draw the 64 by 32 monochrome screen scaled up nicely, handle the 16 key keypad, and run the full CHIP 8 instruction set with the normal fetch decode execute loop, timers, stack, memory, and sprite collision behavior. It should load ROM files from a folder, show the game running smoothly, and make the controls easy to use. Please include a clean build setup so I can compile it easily on my machine, and keep it cross platform if possible.
Use current docs online if you need to, especially for the graphics library and build setup. Make it organized and readable, with sensible defaults and enough comments that I can understand how it works.
Are you gonna build this?
make sure you review the code using coderabbit