This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* SPIDER -- a sample adventure game, by David Matuszek. | |
Consult this file and issue the command: start. */ | |
:- dynamic at/2, i_am_at/1, alive/1. /* Needed by SWI-Prolog. */ | |
:- retractall(at(_, _)), retractall(i_am_at(_)), retractall(alive(_)). | |
/* This defines my current location. */ | |
i_am_at(meadow). |