Skip to content

Solution implementation to the Almost Impossible Chess Problem. Prompt: Prisoner 1 walks in to a room, sees a chessboard where each square has a coin on top, flipped either to heads or tails. The warden places the key under one of the squares, which prisoner 1 sees. Before he leaves, he must turn over one and only one coin. Prisoner 2 then walks…

License

Notifications You must be signed in to change notification settings

CodeWithCory/impossible-chessboard-escape-puzzle

Repository files navigation

Impossible Chessboard Escape Puzzle

Solution implementation by Cory Leigh Rahman

Puzzle Prompt

Prisoner 1 walks in to a room, sees a chessboard where each square has a coin on top, flipped either to heads or tails. The warden places the key under one of the squares, which prisoner 1 sees. Before he leaves, he must turn over one and only one coin. Prisoner 2 then walks in and is supposed to be able to figure out which squares the key is in just by looking at the arrangement of coins. The Prisoners can coordinate a plan ahead of time. What's the plan?

See Solution Implementation

Related Links

About

Solution implementation to the Almost Impossible Chess Problem. Prompt: Prisoner 1 walks in to a room, sees a chessboard where each square has a coin on top, flipped either to heads or tails. The warden places the key under one of the squares, which prisoner 1 sees. Before he leaves, he must turn over one and only one coin. Prisoner 2 then walks…

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published