summaryrefslogtreecommitdiff
path: root/main.prolog
diff options
context:
space:
mode:
authorJed Barber <jjbarber@y7mail.com>2014-04-04 01:48:43 +1100
committerJed Barber <jjbarber@y7mail.com>2014-04-04 01:48:43 +1100
commit19e66dbd8fd3bd66f286bbbcd7ce842d727a4422 (patch)
tree07f0d484b32c9792a5d18921048243d5ed924873 /main.prolog
parentb2081e26122b3937f04caa62ec864fc343f83ef1 (diff)
Makefile added, files reorganised
Diffstat (limited to 'main.prolog')
-rw-r--r--main.prolog34
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).
-