gen2 robots grown some brains #44
statespacedev
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
fyi fwiw - utexas is working great and robots are getting a bit smarter:) just commited a useful skeleton for second generation - here's copypasta blurb from https://github.com/drforbin/decwar/tree/master/utexas/robots readme
gen2 - adds sophistication to be more practical for development, debugging, testing, etc. once started, pressing the '0' key will exit gracefully from decwar, tops10, and telnet, leaving you at the bash cli. it's using 'sshkeyboard' library to listen to the keyboard, and trying to be robust about quitting. meanwhile, in game, it's trying to be smarter in its command loop. for commands where it makes sense, the in game response should be auto parsed to python primitives.
gen1 - was created to drive the overall game. decwar is driven by player actions. no actions, nothing happens. so this robot is entirely focusd on staying in the game and reliably doing things. robustness. there's no concern for exiting gracefully from decwar, tops10, telnet. gen1 robots are simply all killed together with 'pkill -f python'. the whole system is then restarted. whole thing takes seconds, no big deal.
and screenshot - can see gen1 to the left, and gen2 to the right
Beta Was this translation helpful? Give feedback.
All reactions