Tree @master (Download .tar.gz)
This is Cat's Eye Technologies' distribution of the classic computer game of Animals, which demonstrates an "expert system". This version is written in Erlang.
This game stores a 'knowledge tree' about the animals it knows in a nested tuple structure. This is mainly to demonstrate how one can work with binary trees as Erlang terms. A more serious implementation would probably use a real database system, such as Mnesia.
This work is in the public domain. See the file
UNLICENSE for more
To build the
animals module, run the script
make.sh from the root
directory of the distribution.
After the module has been built, the game can be played by running the
animals in the
bin directory. This script can be run from
anywhere; it knows to locate the module and the data files in the
git clone https://git.catseye.tc/Animals/
- Added tag rel_1_1_2014_0819 for changeset be008dd214c2 Chris Pressey 8 years ago
- Place this distribution in the public domain. catseye 10 years ago
- Add section heading to README. catseye 10 years ago
- Don't ship with .beam; add README; move driver script to `bin`. catseye 10 years ago
- Remove executable bits from non-executables. catseye 10 years ago
- Added tag rel_1_1_2010_0429 for changeset 29a11c9f5bff catseye 10 years ago
- Import of Animals version 1.1 revision 2010.0429. catseye 10 years ago
- Added tag rel_1_0_2004_0919 for changeset ed75dab15c55 catseye 10 years ago
- Initial import of Animals version 1.0 revision 2004.0919. catseye 10 years ago