GithubHelp home page GithubHelp logo

varshirevo / majestic_check Goto Github PK

View Code? Open in Web Editor NEW
16.0 1.0 0.0 157 KB

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

CSS 2.69% JavaScript 84.79% HTML 12.52%
chess-game chessboard game-development html javascript

majestic_check's Introduction

๐Ÿ‘‘ 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 : [email protected]

Or

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

majestic_check's People

Contributors

varshirevo avatar

Stargazers

 avatar Rajavarman Kathiresan  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar Haresh K  avatar  avatar  avatar MUTHURAM.S avatar  avatar VEL ARAVINDHAN S avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.