a bot that learns to play super mario bros. a work in progress. kinda sucks right now.
Find a file
2018-06-09 09:47:33 +02:00
Base.lua forgot this 2017-06-30 06:17:26 +00:00
config.lua allow setting of world-level, plus random option 2018-06-09 04:34:21 +02:00
gameconfig.lua simplify gameconfig button specification 2018-06-08 23:59:55 +02:00
main.lua restore flagpole bonus, add missing overlay check 2018-06-09 04:35:09 +02:00
nn.lua cleanup 2018-06-08 02:45:07 +02:00
README.txt rename notice 2018-06-09 09:47:33 +02:00
smb.lua restore flagpole bonus, add missing overlay check 2018-06-09 04:35:09 +02:00
strict.lua split strictness to its own file 2018-05-03 16:48:12 +02:00
util.lua add argsort function 2018-06-08 02:46:00 +02:00

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