dflat2 / wumpus-prolog

A text-based hunt the Wumpus game.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hunt the Wumpus

Terminal text-based game, made in Prolog, in which the goal is to collect gold and escape without getting caught by the Wumpus who lives there.

Dependencies

You will need SWI Prolog to run this project.

How to use it

git clone https://github.com/dflat2/wumpus-prolog.git
cd wumpus-prolog
swipl wumpus.pl
start.

What is Hunt the Wumpus?

Quoting Wikipedia:

Hunt the Wumpus is a text-based adventure game developed by Gregory Yob in 1973. In the game, the player moves through a series of connected caves, arranged as the vertices of a dodecahedron, as they hunt a monster named the Wumpus. The turn-based game has the player trying to avoid fatal bottomless pits and "super bats" that will move them around the cave system; the goal is to fire one of their "crooked arrows" through the caves to kill the Wumpus. Yob created the game in early 1973 due to his annoyance at the multiple hide-and-seek games set in caves in a grid pattern, and it and multiple variations were sold via mail order by Yob and the People’s Computer Company. The source code to the game was published in Creative Computing in 1975 and republished in The Best of Creative Computing the following year.

I discovered this game while reading Artificial Intelligence: A Modern Approach.

About

A text-based hunt the Wumpus game.


Languages

Language:Prolog 100.0%