Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 488 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 488 Bytes

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).