hilios / wumpus-prolog

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:Prolog 90.1%Language:Python 9.3%Language:Shell 0.6%