I made a basic game engine for Emacs.
https://github.com/accidentalrebel/emacs-game-engine
Has easy to use coordibate system for placing characters on screen, shape drawing, keyboard and mouse output, and audio.
Maybe not tbe greatest, but it is was the most fun I had.