Skip to content

sbme-tutorials/finalproject_chessgame-team-seven

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Review Assignment Due Date

Leader: Kareem Abdel Nabi Ahmed

Members:

  • Ahmed Osama Ashmawy Mohamed
  • Ziad Wael Ibrahim Mohamed Ali
  • Ziad Mohammad Abd-El kader Abd-El Hamid
  • Louai Khaled Abdelmoneam

Description

Chess is played on a board of 64 squares alternate between two colors: light (e.g. white) and dark (e.g. black). A player’s army consists of 16 pieces that begin play on the two ranks closest to that player. There are six different types of pieces; king, rook, bishop, queen, knight, and pawn. Each has a different appearance and moves.

  • Chess is played between two opponents with different colored pieces (usually black and white).
  • White moves first, and players take turns following fixed rules until the end of the game.
  • Legal moves should be highlighted in green, and illegal moves (e.g., blocking own pieces, putting the king in check) should be highlighted in red.
  • Eaten pieces of each player should be displayed on the sidebar.
  • The win condition is to force the opponent's king into checkmate.
  1. Pieces:

    a) Pawn:

    • Moves forward and captures diagonally and forward.
    • On the first move, it can move one or two squares.
    • When reaching the opposite end of the board, it can be promoted to any other piece (except the king).

    b) Rook (Castle):

    • Moves vertically or horizontally to any unobstructed square.

    c) King:

    • Moves one square in any direction.
    • Castling: A special move where the king moves two spaces towards a rook, and the rook moves to the other side of the king under specific conditions.

    d) Bishop (Elephant):

    • Moves diagonally, bypassing other pieces.
    • Can change the diagonal color by moving one square horizontally.

    e) Queen:

    • Combines the powers of the rook and bishop, the most mobile and powerful piece.

    f) Knight:

    • Moves in an L shape: two squares horizontally or vertically, and then three squares in the perpendicular direction.

the Gui

ChessBoardGUI(1)


Team7_OOP_Presentation.pptx


About

finalproject_chessgame-team-seven created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages