Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brookr/hunter
An example of OO modeling of a hunter.
https://github.com/brookr/hunter
Last synced: 4 days ago
JSON representation
An example of OO modeling of a hunter.
- Host: GitHub
- URL: https://github.com/brookr/hunter
- Owner: brookr
- License: mit
- Created: 2014-05-07T08:17:38.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-05-07T09:16:08.000Z (over 10 years ago)
- Last Synced: 2023-04-13T12:43:57.472Z (over 1 year ago)
- Language: Ruby
- Size: 141 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
hunter
======This is an example of OO modeling of a hunter.
The Hunter can hold various tools. Whichever was picked up most recently, will be equipped.
The Hunter can go after any Animal. Hunter will "track" prey until close enough to use the tool in hand. Right now, tracking is random.
A demo hunting script can be run
## Areas of improvement
Animals should learn how to run away if they are injured.
Tracking should be a little more directional. The Hunter would need to learn to "look" for the animal.
More tests needed.