/wumpus-prolog

Artificial intelligence agent for the Hunt the Wumpus game implemented in Prolog

Primary LanguageProlog

Hunt the Wumpus in Prolog

Artificial intelligence agent for the Hunt the Wumpus game implemented in Prolog.

Running:

Run in shell throug swipl:

$ ./wumpus.sh src/naive.pl

Using SWI Prolog interface:

$ swipl
?- [src/world], [src/main], [src/naive].
true.
?- run.

Random World generation

To generate a random world at each run user the alternate predicate:

$ swipl
?- [src/main], [src/naive].
true.
?- run(random).