Coder Social home page Coder Social logo

catseye / animals Goto Github PK

View Code? Open in Web Editor NEW
1.0 4.0 0.0 152 KB

An implementation in Erlang of the classic game which demonstrates an "expert system"

Home Page: http://catseye.tc/node/Animals

License: The Unlicense

Shell 2.50% Erlang 97.50%
retrogaming computer-game machine-learning expert-system classic-game

animals's Introduction

Animals

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.

Description

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.

License

This work is in the public domain. See the file UNLICENSE for more information.

Running

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 script animals in the bin directory. This script can be run from anywhere; it knows to locate the module and the data files in the distribution directory.

animals's People

Contributors

cpressey avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.