LaiNES – Cycle-accurate NES emulator in around 1000 lines of code
First I&#x27;d like to say this project represents fantastically impressive achievement regardless.<p>However, putting this repo through `cloc` reveals the HN title to be rather misleading.<p>EDIT: I had initially read through {cpu,apu,ppu,gui,joypad,mapper}.{cpp,h} and noticed that the mental tally I was taking had run well over 1000LOC. In my haste I quickly cloned the repository and ran cloc against the current dir <i>which massively inflated the result</i> (Doh!). See author&#x27;s comment below for a more sensible figure.