Neat! The actual COBOL is pretty minimal, just tracking where the balls and paddles are and then calling out to update the DOM. It doesn't look anywhere near as horrific as I would have expected :)
https://github.com/moxon6/cobol-js-emscripten/blob/master/co...