About the project
gameboy-sharp is a Game Boy (DMG) emulator in C# whose core works independently of the frontend, the layer that handles picture and input. That means the whole machine can run headless, with no window or screen, and be verified against standard test ROMs: programs made to check how faithful an emulator is. The console logic is cleanly separated from the display, so the core is not tied to a single interface.
The challenge
A console emulator has to reproduce the hardware faithfully enough that other people's games and test ROMs run bit for bit as they do on the original. The hardest part is that a bug does not crash straight away: the game simply behaves slightly wrong.