Making An Evil Jupyter Notebook
I recently came back to an idea I started playing with back in January: sticking a game into the Jupyter notebook interface. The key problem to solve here is that, while Jupyter is designed to run the code you see and explain it, for game purposes I want the code to do the opposite: control the interface itself (and do so while being at least lightly obfuscated from the user).
Adding, Running, and Removing Cells With IPyLab
IPyLab has been a great (and really fun) tool for this purpose. You can use it to execute Jupyter app commands directly within