a bot that learns to play super mario bros. a work in progress. kinda sucks right now.
Base.lua | ||
config.lua | ||
gameconfig.lua | ||
main.lua | ||
nn.lua | ||
README.txt | ||
smb.lua | ||
strict.lua | ||
util.lua |
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 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