Testing Gym for Cartesian Genetic Algorithms.
What is the size in bytes of the smallest CX assembly program that can beat mario world, without looking at the screen or taking any input from the game?
#Usage
NAME:
cx-aigym-nes - A new cli application
USAGE:
cx [global options] command [command options] [arguments...]
VERSION:
1.0.0
COMMANDS:
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--disable-audio disable audio (default: false)
--disable-video disable video (default: false)
--savedirectory value Path to store the state of games
--loadrom value, --lr value load .rom file/s
--loadjson value, --lj value load .json file/s
--help, -h show help (default: false)
--version, -v print the version (default: false)
--speed, -s defines game speed, 0-fastest speed (default: 1)
--pprofile, -pp sets profiling (default: false)
--frames-per-second, -fps sets frames per second of game (default: 60)
PPROFILING:
If pprofile is true: open another terminal and run monitor for 30 secs
go tool pprof http://localhost:6060/debug/pprof/profile?seconds=30
go tool pprof http://localhost:6060/debug/pprof/heap?seconds=30
cd cx-aigym-nes
go run cmd/nes/main --disable-audio --disable-video
--loadrom ../roms/Super_mario_brothers.nes --savedirectory ../checkpoints --speed --fps --random
- --disable-audio: Disable audio, default is false if missing
- --disable-video: Disable video, default is false if missing
- --savedirectory: Where to store the state of games, default is ../checkpoints if missing
- --loadrom: Path of rom file
- --speed: Speed of games
- --fps: Frames per second of games
- --random: Random moves control