{"id":16113338,"url":"https://github.com/richelbilderbeek/searchanddestroychess","last_synced_at":"2025-03-17T18:30:30.127Z","repository":{"id":70484711,"uuid":"43552634","full_name":"richelbilderbeek/SearchAndDestroyChess","owner":"richelbilderbeek","description":"C++ Kriegspiel game","archived":false,"fork":false,"pushed_at":"2025-01-26T16:10:53.000Z","size":1503,"stargazers_count":2,"open_issues_count":7,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T03:17:51.263Z","etag":null,"topics":["chess","cpp","dark-chess","foss","game","kriegspiel"],"latest_commit_sha":null,"homepage":"https://github.com/richelbilderbeek/games","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/richelbilderbeek.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":"2015-10-02T12:52:58.000Z","updated_at":"2025-01-26T16:10:57.000Z","dependencies_parsed_at":"2023-04-02T13:33:27.252Z","dependency_job_id":"5b550672-3b88-498f-9bda-8579f54ea15c","html_url":"https://github.com/richelbilderbeek/SearchAndDestroyChess","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richelbilderbeek%2FSearchAndDestroyChess","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richelbilderbeek%2FSearchAndDestroyChess/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richelbilderbeek%2FSearchAndDestroyChess/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richelbilderbeek%2FSearchAndDestroyChess/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/richelbilderbeek","download_url":"https://codeload.github.com/richelbilderbeek/SearchAndDestroyChess/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243878408,"owners_count":20362431,"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":["chess","cpp","dark-chess","foss","game","kriegspiel"],"created_at":"2024-10-09T20:11:12.031Z","updated_at":"2025-03-17T18:30:29.697Z","avatar_url":"https://github.com/richelbilderbeek.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SearchAndDestroyChess\n\nChess game with a fog of war, programmed in C++ using SFML.\n\nThe following special rules apply to SearchAndDestroyChess:\n\n * A player cannot be in chess, nor in checkmate. Instead, if the king is captured, the capturer wins. This is because it is possible for a king to be in check without knowing it\n * Normal rules to en passant capture apply. But when a pawn can be captured en passant, this pawn is visible. This makes a pawn look sideways for only one turn. This is because the attacker must be able to see that he/she can make an en passant capture\n * Normal rules to castling apply, except that castling can take place when in chess and through attacked squares. This is because it is possible for a king to be or getting in check without knowing it\n * A pawn always gets promoted to a queen\n\nThe first version of SearchAndDestroyChess was put online at 2008-07-06. I month later I \nfound out I wasn't the first to have invented this variant: \nit is also known as [Kriegspiel](https://en.wikipedia.org/wiki/Kriegspiel_%28chess%29)\nor [Dark Chess.](https://en.wikipedia.org/wiki/Dark_chess)\n\n![SearchAndDestroyChess v3.2](Screenshots/SearchAndDestroyChess_3_2.png)\n\n## Gameplay\n\nThe first screen will be the `Press enter to start the next turn` screen.\nHere, (the person playing) white has to assure black is looking away.\nIf black is looking away, white presses enter.\nWhite can do a move like regular chess now.\n\nWhen white has done his/her move, the `Press enter to start the next turn` screen pops up again.\nNow, black has to assure white is looking away.\nIf white is looking away, black presses enter.\nBlack can do a move like regular chess now.\n\nRepeat this until a player can capture the king of the opponent. \nThen, it is common to show the opponent he/she will be captured, so he/she\ncan see the position of the winning player his/her pieces.  \n\n## Controls\n\n * `Up arrow` or `W`: move cursor up\n * `Right arrow` or `D`: move cursor right\n * `Down arrow` or `S`: move cursor down\n * `Left arrow` or `A`: move cursor left\n * `Space` or `Q` or `E`: select\n * `Enter`/`Return`: start next turn, only works at the `Press enter to start the next turn` screen \n\nAlso selection works with the mouse.\n\n## Strategy\n\n * Prefer to keep your king protected in all 16 directions (4x diagonal, 4x horizontal, 8x knigh jumps)\n * Castling is extra strong\n * Bluffing is an important part of the game\n * In trouble? Make that unexpected move!\n * Try to cover all your pieces\n * Try to see as much of the board as possible\n * Being in center positions is nice, in this game coverage and lines of sight are more important\n\n## Older screenshots\n\n![SearchAndDestroyChess v3.1](Screenshots/SearchAndDestroyChess_3_1.png)\n\n![SearchAndDestroyChess v3.0](Screenshots/SearchAndDestroyChess_3_0.png)\n\n![SearchAndDestroyChess v3.0](Screenshots/SearchAndDestroyChess_2_0.png)\n\n![SearchAndDestroyChess v3.0](Screenshots/SearchAndDestroyChess_1_0.png)\n\n## External links\n\n * [Richel Bilderbeek's games](https://github.com/richelbilderbeek/Games)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichelbilderbeek%2Fsearchanddestroychess","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frichelbilderbeek%2Fsearchanddestroychess","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichelbilderbeek%2Fsearchanddestroychess/lists"}