This is written in python3, it requires pygame and msvcrt
msvcrt is used for non-blocking input()
I have not yet rewrote this for linux
It contains different versions, for the differerent design stages of the CTF's Emulation category
The best version is emu_1.0_gamebreak.py,
it is configured to use paint.rom and connect to the paint server:
emu-1.quphoria.co.uk:1337
The paint gallery is at: https://emu-1.quphoria.co.uk
To run it without connecting to a server,
Uncomment server_address = None
at the top of the file