Haha I remember in my first jam when my game also closed instantly after loosing!
It's not very polished but the concept is cool and it's brave to do it using a python library.
Amazing GIF