Upstream release 4.02a
[rice.git] / examples / game.doc
blob9cc4c85d69a6e3825ab17f7ba68f2761e1322575
1 /*
2    File:   game.doc
3    Author: Rene' Jager
4    Update: November 21, 1992
5    Info:   documentation for game example
6 */
9 The GAME example (as the name says, a small game) exist of the following
10 files:
12  - game.c     source file (partly Borland C, partly Microsoft C)
13  - game.kb    knowledge base
15 The game example is an application of RICE for playing the game tick-tack-toe,
16 also known as tic-tac-toc.
18 Starting the program without command-line arguments will result in playing
19 the game against the expert system. When you start up the program with an
20 knowledge base file as argument it will result in a game between the standard
21 knwoledge base and the knowledge base entered as command-line argument. For
22 example:
24    game game.kb [ENTER]
26 will cause the expert system to play against a copy of itself. Probably you
27 can make better knowledge base which is much better...
29 See file RICE.DOC for more info on RICE.