Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mwotton/treasurewar-bot
https://github.com/mwotton/treasurewar-bot
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mwotton/treasurewar-bot
- Owner: mwotton
- Created: 2012-12-05T01:01:58.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2012-12-10T07:20:09.000Z (almost 12 years ago)
- Last Synced: 2023-04-16T12:07:49.278Z (over 1 year ago)
- Language: Ruby
- Size: 148 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
fairly basic subsumption architecture - every argument after the first is the name of a strategy class. Each strategy will be asked to make a move: it will either return a move or nil. if it returns nil, the next strategy will be asked. Call it a poor man's monad.
bundle exec ruby driver.rb MrPotatoHead PickupTreasure PickupStash Dropper StashReturner TreasureSeeker StashSeeker Killerstrat KillSeeker WallHugger DrunkWalker 2>errs