Is the code for this open? Curious to have a peek and a poke...
Yes, the sample's source code is here:
https://github.com/floooh/chips-test/blob/sokol-app/examples...
The pure 8-bit chip emulators are here:
https://github.com/floooh/chips
You can also start with the 'proper' emulator this is based on:
https://github.com/floooh/yakc
This has all the links to the underlying software.