/ChessGame

Minimal chess game made in Js that uses "chess notations" for movement management.

Primary LanguageJavaScript

Chess Game (Js)

A minimal chess game using chess notations. made in js.

Usage

  • Clone The Project
  • Open the index.html file in any browser
  • If you don't know anything about chess notaions just type the following to get something moving
    1. Bc1 White's Turn: Bishop moves to c1 square
    2. Qxf8 Black's Turn: Queen Captures on f8 squre
    3. Nxh8 White's Turn: Night Captures on h8

Learn more about chess notations in https://en.wikipedia.org/wiki/Algebraic_notation_(chess)

Project

The project is not completed yet. 😄 But it will be done soon.
However for the programmers out there, there are a lots of helper functions that you can use in order to finish the project.
You can start contribute in the project and practice skills.

TODO:

  1. The pawns are really important, make them move.
  2. King can move to any square, He doesn't check if someone can capture him or not 😄.
  3. Add the extra rules Like : en passant, casteling, checking, checkmating, promoting, stealmate, ...
  4. Dragging the pieces in order to move instead of using the code.

Contribute

☺️ Fell free to contribute to this project, and don't forget to send a pull request.
🔧 The project came with a lots of helper functions and you can work on the project and build new features really easy.