a bot that learns to play super mario bros. a work in progress. kinda sucks right now.
Find a file
2018-06-10 19:34:06 +02:00
ars.lua add xNES optimizer 2018-06-09 18:56:10 +02:00
Base.lua forgot this 2017-06-30 06:17:26 +00:00
config.lua use experimental config/network 2018-06-10 16:41:45 +02:00
gameconfig.lua temporarily remove sprite type (it's busted anyway) 2018-06-10 16:41:07 +02:00
main.lua fix network loading 2018-06-10 19:34:06 +02:00
nn.lua move dot_mv to nn 2018-06-10 16:34:20 +02:00
README.txt display decisions made instead of frame count 2018-06-10 16:48:02 +02:00
smb.lua temporarily remove sprite type (it's busted anyway) 2018-06-10 16:41:07 +02:00
snes.lua add SNES optimizer 2018-06-10 16:40:20 +02:00
strict.lua split strictness to its own file 2018-05-03 16:48:12 +02:00
util.lua add exists utility function 2018-06-10 16:36:15 +02:00
xnes.lua add mean adaptation hyperparameter 2018-06-10 16:38:25 +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 `for i=a,b` code style
- 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