Skip to content

Players can challenge computer opponents of varying difficulties, featuring intuitive gameplay mechanics.

Notifications You must be signed in to change notification settings

VarshiRevo/MAJESTIC_CHECK

Repository files navigation

👑 Welcome to MajesticCheck! 👑

Experience the timeless game of chess like never before! 🌐 This web-based chess masterpiece allows you to indulge in thrilling matches with friends or formidable opponents online. 🤝 The entire project is meticulously crafted using the enchanting trio of HTML, CSS, and JavaScript.

Prepare for battle, embrace strategy, and immerse yourself in the world of MajesticCheck! 🌟

Feature

Chess Engine: Implement a chess engine that enforces the rules of chess, validates moves, and checks for   checkmate and stalemate.

Move History: Provide a move history feature that allows players to review the sequence of moves in a game.

Rules

Basic Piece Movement: King: The king can move one square in any direction: horizontally, vertically, or diagonally. However, it cannot move to a square that is under attack. Queen: The queen can move horizontally, vertically, or diagonally any number of squares. Rook: The rook moves horizontally or vertically any number of squares. Bishop: The bishop moves diagonally any number of squares. Knight: The knight moves in an L-shape, consisting of two squares in one direction followed by one square perpendicular to that. Knights can jump over other pieces. Pawn: Pawns move forward one square but capture diagonally. On their first move, pawns have the option to move forward two squares. When a pawn reaches the opposite end of the board, it can be promoted to any other piece (except a king).

Check and Checkmate: Check: When a player's king is under direct attack by an opponent's piece, it is in check. The player must make a move to get the king out of check. Checkmate: If a player's king is in check and cannot make a legal move to escape the threat, it is checkmate, and that player loses the game.

Stalemate and Draws: Stalemate: If a player has no legal moves to make and their king is not in check, the game results in a draw due to stalemate. Draws: Chess games can also end in draws due to insufficient material (e.g., king vs. king, king and bishop vs. king and bishop with the bishops on opposite colors), threefold repetition, or the fifty-move rule (no pawn movement or capture in the last fifty moves).

Installation

  - Download Vscode
  - Open this folder in VScode
  - Download Live Server extension

Tech Stack

  • HTML
  • CSS
  • JS

Deployment

To deploy this project run

  Run the Chess.html file by clicking Go-Live
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

Screenshots

App Screenshot

Author

-@VarshiRevo

Support

For support, Email : varshigaps04.ai@gmail.com

Or

Join my Slack channel: https://join.slack.com/t/team-revoshared_invitezt-23bhnca2e-VEbQiDF8c~1hUYVjsNa06Q

About

Players can challenge computer opponents of varying difficulties, featuring intuitive gameplay mechanics.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published