{"id":25016919,"url":"https://github.com/corylr/impossible-chessboard-escape-puzzle","last_synced_at":"2026-01-08T02:47:44.611Z","repository":{"id":120429632,"uuid":"403413224","full_name":"CoryLR/impossible-chessboard-escape-puzzle","owner":"CoryLR","description":"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 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?","archived":false,"fork":false,"pushed_at":"2025-02-15T13:13:21.000Z","size":1347,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T14:22:12.078Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CoryLR.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-05T21:08:46.000Z","updated_at":"2025-02-15T13:13:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4c09e7f-953d-4c98-b349-ef6f0268f32a","html_url":"https://github.com/CoryLR/impossible-chessboard-escape-puzzle","commit_stats":null,"previous_names":["codewithcory/impossible-chessboard-escape-puzzle","corylr/impossible-chessboard-escape-puzzle"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoryLR%2Fimpossible-chessboard-escape-puzzle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoryLR%2Fimpossible-chessboard-escape-puzzle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoryLR%2Fimpossible-chessboard-escape-puzzle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CoryLR%2Fimpossible-chessboard-escape-puzzle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CoryLR","download_url":"https://codeload.github.com/CoryLR/impossible-chessboard-escape-puzzle/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246290573,"owners_count":20753724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-05T09:56:28.270Z","updated_at":"2026-01-08T02:47:44.574Z","avatar_url":"https://github.com/CoryLR.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Impossible Chessboard Escape Puzzle\n\nSolution implementation by Cory Leigh Rahman\n\n## Puzzle Prompt\n\nPrisoner 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?\n\n## See Solution Implementation\n\n* Website: [Impossible Chessboard Escape Puzzle](https://corylr.github.io/impossible-chessboard-escape-puzzle/)\n* PDF: [Impossible Chessboard Escape Puzzle - CLR.pdf](Impossible%20Chessboard%20Escape%20Puzzle%20-%20CLR.pdf)\n* Jupyter Notebook: [Impossible Chessboard Escape Puzzle - CLR.ipynb](Impossible%20Chessboard%20Escape%20Puzzle%20-%20CLR.ipynb)\n\n## Related Links\n\n* Introduction video \u0026 walk-through: [The almost impossible chessboard puzzle](https://www.youtube.com/watch?v=as7Gkm7Y7h4) by Stand-up Maths\n* Further discussion video: [The impossible chessboard puzzle](https://www.youtube.com/watch?v=wTJI_WuZSwE) by 3Blue1Brown\n* Full breakdown website with interactive examples: [Impossible Escape?](https://datagenetics.com/blog/december12014/index.html) by DataGenetics\n\n## Maintainers\n\n- Should be able to convert the Jupyter Notebook to Markdown using `python -m jupyter nbconvert --to markdown 'Impossible Chessboard Escape Puzzle - CLR.ipynb'`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorylr%2Fimpossible-chessboard-escape-puzzle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorylr%2Fimpossible-chessboard-escape-puzzle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorylr%2Fimpossible-chessboard-escape-puzzle/lists"}