Skip to content
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Screenshots
Sprites
pics
.gitignore
.travis.yml
Codecov.png
LICENSE
README.md
SearchAndDestroyChess.pri
SearchAndDestroyChess.pro
SearchAndDestroyChessConsoleTest.pri
SearchAndDestroyChessConsoleTest.pro
TravisCI.png
chess_board.cpp
chess_board.h
chess_board_test.cpp
chess_move.cpp
chess_move.h
chess_piece.cpp
chess_piece.h
command.cpp
command.h
coordinat_getter.cpp
coordinat_getter.h
do_oclint
download_other_githubs
game.cpp
game.h
game_dialog.cpp
game_dialog.h
game_state.cpp
game_state.h
get_code_cov
install_oclint
main.cpp
main_test.cpp
oclint.log
piece_color.cpp
piece_color.h
piece_type.cpp
piece_type.h
scripts
textures.cpp
textures.h

README.md

SearchAndDestroyChess

Branch Travis CI logo Codecov logo
master Build Status codecov.io
develop Build Status codecov.io

Chess game with a fog of war, programmed in C++ using SFML.

The following special rules apply to SearchAndDestroyChess:

  • 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
  • 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
  • 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
  • A pawn always gets promoted to a queen

The first version of SearchAndDestroyChess was put online at 2008-07-06. I month later I found out I wasn't the first to have invented this variant: it is also known as Kriegspiel or Dark Chess.

SearchAndDestroyChess v3.2

Gameplay

The first screen will be the Press enter to start the next turn screen. Here, (the person playing) white has to assure black is looking away. If black is looking away, white presses enter. White can do a move like regular chess now.

When white has done his/her move, the Press enter to start the next turn screen pops up again. Now, black has to assure white is looking away. If white is looking away, black presses enter. Black can do a move like regular chess now.

Repeat this until a player can capture the king of the opponent. Then, it is common to show the opponent he/she will be captured, so he/she can see the position of the winning player his/her pieces.

Controls

  • Up arrow or W: move cursor up
  • Right arrow or D: move cursor right
  • Down arrow or S: move cursor down
  • Left arrow or A: move cursor left
  • Space or Q or E: select
  • Enter/Return: start next turn, only works at the Press enter to start the next turn screen

Also selection works with the mouse.

Strategy

  • Prefer to keep your king protected in all 16 directions (4x diagonal, 4x horizontal, 8x knigh jumps)
  • Castling is extra strong
  • Bluffing is an important part of the game
  • In trouble? Make that unexpected move!
  • Try to cover all your pieces
  • Try to see as much of the board as possible
  • Being in center positions is nice, in this game coverage and lines of sight are more important

Older screenshots

SearchAndDestroyChess v3.1

SearchAndDestroyChess v3.0

SearchAndDestroyChess v3.0

SearchAndDestroyChess v3.0

External links

You can’t perform that action at this time.