this program is largely incomplete and not in a presentable state. please be mindful when sharing it. however, feel free to copy any snippets of code you find useful. TODOs: (that i can remember right now) - normalize `for i=a,b` code style - count decisions made onscreen instead of partial frame count? - normalize and/or embed sprite type inputs - settle on a network architecture - compute how many input neurons the network needs instead of hardcoding - add some detection for enemies later in the game - fix cfg.enable_overlay (smb.lua doesn't see it being changed) naive: - learn any combination of buttons, starting from title screen - learn to run network without frameskip - learn other games