https://github.com/programmerdan/wolfplaysfair
Wolf Plays Fair -- my own wolf submission for the ongoing code-golf challenge. It doesn't like cheaters, and it keeps close tabs on the map.
https://github.com/programmerdan/wolfplaysfair
Last synced: about 1 year ago
JSON representation
Wolf Plays Fair -- my own wolf submission for the ongoing code-golf challenge. It doesn't like cheaters, and it keeps close tabs on the map.
- Host: GitHub
- URL: https://github.com/programmerdan/wolfplaysfair
- Owner: ProgrammerDan
- License: gpl-2.0
- Created: 2014-04-13T23:59:55.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-14T00:21:09.000Z (about 12 years ago)
- Last Synced: 2025-02-09T14:24:03.898Z (over 1 year ago)
- Language: Java
- Size: 141 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
wolfplaysfair
=============
Wolf Plays Fair -- my own wolf submission for the ongoing code-golf challenge.
It doesn't like cheaters, and it keeps close tabs on the map.
Basically, Wolf Plays Fair checks that Attacks, Moves, and the PRNG are fair. If they aren't, it kills itself.
As well, it keeps track of how many of itself have been created. Any beyond 100 just suicide.
Finally, it uses a private internal "implementation" to obfuscate its internal processes from its "public" persona.
Beyond "Fairness" features, it does something a bit unusual:
1. Avoids Lions.
2. Waits quite a while
3. Begins moving around the map, keeping track of things around itself.
Eventually, I'll use the map data to smartly navigate, and perhaps even collate the maps between all
instances for better map knowledge.