0 | 0 |
%%% BEGIN animals.erl %%%
|
1 | 1 |
%%%
|
2 | 2 |
%%% animals - Classic 'expert system' game of Animals, in Erlang
|
3 | |
%%% Copyright (c)2002-2010 Cat's Eye Technologies. All rights reserved.
|
4 | 3 |
%%%
|
5 | |
%%% Redistribution and use in source and binary forms, with or without
|
6 | |
%%% modification, are permitted provided that the following conditions
|
7 | |
%%% are met:
|
|
4 |
%%% This work is in the public domain. See UNLICENSE for more information.
|
8 | 5 |
%%%
|
9 | |
%%% Redistributions of source code must retain the above copyright
|
10 | |
%%% notice, this list of conditions and the following disclaimer.
|
11 | |
%%%
|
12 | |
%%% Redistributions in binary form must reproduce the above copyright
|
13 | |
%%% notice, this list of conditions and the following disclaimer in
|
14 | |
%%% the documentation and/or other materials provided with the
|
15 | |
%%% distribution.
|
16 | |
%%%
|
17 | |
%%% Neither the name of Cat's Eye Technologies nor the names of its
|
18 | |
%%% contributors may be used to endorse or promote products derived
|
19 | |
%%% from this software without specific prior written permission.
|
20 | |
%%%
|
21 | |
%%% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
22 | |
%%% ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
23 | |
%%% LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
|
24 | |
%%% FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
25 | |
%%% COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
26 | |
%%% INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
27 | |
%%% (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
28 | |
%%% SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
29 | |
%%% HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
30 | |
%%% STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
31 | |
%%% ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
32 | |
%%% OF THE POSSIBILITY OF SUCH DAMAGE.
|
33 | 6 |
|
34 | 7 |
%% @doc The classic 'expert system' demonstration game of Animals.
|
35 | 8 |
%%
|
|
44 | 17 |
-module(animals).
|
45 | 18 |
-vsn('$Id: animals.erl 531 2010-04-29 20:05:21Z cpressey $').
|
46 | 19 |
-author('cpressey@catseye.tc').
|
47 | |
-copyright('Copyright (c)2002-2010 Cat`s Eye Technologies. All rights reserved.').
|
|
20 |
-copyright('This work is in the public domain; see UNLICENSE for more info').
|
48 | 21 |
|
49 | 22 |
-export([start/0]).
|
50 | 23 |
|