All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Games
Haunted mansion (Posted on 2006-03-08) Difficulty: 3 of 5
Another ghost has trespassed into your haunted mansion. You are able to force him out, but only once you've caught up to him.

Both you and the other ghost take turns. During your turn, you may either stay in the same room, or move through a wall ceiling or floor to an adjacent room within the mansion (no moving diagonally). The other ghost does the same. You can sense each other's positions. The other ghost chooses the starting positions.

Given the above map of the mansion, can you catch the trespasser, or can he evade you indefinitely? Show a way to figure out the outcome of any given mansion.

See The Solution Submitted by Tristan    
Rating: 4.2222 (9 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re(2): Gotcha! | Comment 6 of 8 |
(In reply to re: Gotcha! by Dej Mar)

It's true the other ghost doesn't have to move, so let's see...

Pred   Prey
G      A        (If he stays here he's caught)

G      B       (Prey stays in B)
A      F        (Prey can't stay in B, now F is only safe move)
I      H        (Prey can't stay in F, H is only safe move)
J      H        (Trapped)

G      C        (Prey stays in C)
D      B        (Prey can't stay in C, B is only safe move)
A      F         (Prey can't stay in B, F is only safe move)
I      H         (Prey can't stay in F, H is only safe move)
J      H         (Trapped)

G      D        (If he stays here he's caught)

G      E        (If he stays here he's caught)

G      F        (If he stays here he's caught)

G      H        (If he stays here he's caught)

G      I        (If he stays here he's caught)

G      J        (If he stays here he's caught)


  Posted by Bob Smith on 2006-03-09 07:13:55
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (14)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information