diff options
Diffstat (limited to 'main.prolog')
-rw-r--r-- | main.prolog | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/main.prolog b/main.prolog deleted file mode 100644 index ef23f4f..0000000 --- a/main.prolog +++ /dev/null @@ -1,34 +0,0 @@ - - -:- consult('parser.prolog'). -:- consult('agent.prolog'). -:- consult('command.prolog'). - - - - -play :- - init, - look, - playLoop. - - -playLoop :- - prompt(Line), - evalLine(Line). - - -evalLine(Line) :- - getCommand(Line,Command), - Command, - playLoop. - - -evalLine(_) :- - write('What?\n\n'), - playLoop. - - -quit :- - halt(0). - |