Pick a cave
same seed = same cave for the whole class
AI coach: checking…
Module 3 · PECST522 Artificial Intelligence · S5 CSE, NSSCE
The rules (that's all of them)
THE WUMPUS WORLD You are in a 4×4 cave. Somewhere there is gold. Also: one Wumpus (it eats you) and some bottomless pits (you fall). You can only sense the square you are standing on: STENCH → the Wumpus is in an ADJACENT square (up/down/left/right) BREEZE → a pit is in an ADJACENT square GLITTER → the gold is HERE BUMP → you walked into a wall SCREAM → you shot the Wumpus and killed it (heard anywhere) "Adjacent" NEVER means diagonal. You start at [1,1], which is safe. You have ONE arrow. You win by grabbing the gold and returning to [1,1]. THE CATCH: before every move, you must type WHY that square is safe. A lucky guess scores nothing. Good reasoning that gets you killed scores full marks.
How reasoning is scored — one point each per move: R1 cite a real percept at a square you visited · R2 the conclusion follows by the adjacency rule · R3 combine two observations (not on the first move) · R4 your certainty matches what you proved. Details.
Squares are [column,row]; [1,1] is bottom-left, exactly as on the projected slide. Tap an adjacent square to move. Use 🚩 to mark squares SAFE / PIT? / WUMPUS? — the difference between "proved safe" and "not yet proved dangerous" is the whole lesson.
0 / 0REASONING SCORE (the one that matters) · how is it scored?
aliveSURVIVAL · 0 moves · no gold
Flag accuracy: no SAFE flags yet.
📚 Knowledge base
Rules (background knowledge)
B(c,r) ⇔ a pit is in a square adjacent to (c,r)
S(c,r) ⇔ the Wumpus is in a square adjacent to (c,r)
G(c,r) ⇔ the gold is at (c,r)
adjacent = up, down, left, right — never diagonal · exactly one Wumpus
Percept sentences — TELL (added automatically at every square)
Derived sentences — yours (from your justifications, or added below)
Your reasoning, move by move
Nothing yet. Tap a square next to you.