Project Presentation
Project Presentation
Project Presentation
Project
Usama Muneeb
UW-19-CS-BS-021
PROJECT PRESENTATION
CHESS GAME
Chess is a Two player game played on board of 64 squares arranged in 8x8 grids. The rules of chess
are published by FIDE(Federation International Des Echecs).
IMPLIMATATION
PARTS OF GAME
King, Rock, Bishop, Queen, Knight, Pawn
• The King moves one square in any direction. The king also has a special move called castling
that involves also moving a rook.
• A Rook can move any number of squares along a rank or file but cannot leap over other pieces.
Along with the king, a rook is involved during the king's castling move.
• A Bishop can move any number of squares diagonally but cannot leap over other pieces.
• The Queen combines the power of a rook and bishop and can move any number of squares
along a rank, file, or diagonal, but cannot leap over other pieces.
• A Knight moves to any of the closest squares that are not on the same rank, file, or diagonal.
(Thus, the move forms an "L"-shape: two squares vertically and one square horizontally, or two
squares horizontally and one square vertically.) The knight is the only piece that can leap over
other pieces.
• A Pawn can move forward to the unoccupied square immediately in front of it on the same file,
or on its first move it can advance two squares along the same file, provided both squares are
unoccupied (black dots in the diagram); or the pawn can capture an opponent's piece on a
square diagonally in front of it on an adjacent file, by moving to that square (black "x"s). A pawn
has two special moves: the en passant capture and promotion.
WINNER
Checkmate (often shortened to mate) is a game position in chess and other chess-like games in
which a player's king is in check (threatened with capture) and there is no way to remove the threat.
Checkmating the opponent wins the game.
In chess the king is never captured the player loses as soon as their king is checkmated.
• Iostream
• Time
• Conio
• String
• Math
• Graphics
• Cstdlib
• Fstream
THE END