/web-chess

A chess game made with pure HTML, CSS and Javascript

Primary LanguageJavaScriptMIT LicenseMIT

Web Chess

A chess game made with pure HTML, CSS and Javascript

How to run

  1. Clone the repository with git clone https://github.com/Zardosh/web-chess.git
  2. Open index.html with your browser (keep in mind that this project has only been tested with Google Chrome, and might not work properly on other browsers)

Progress

  • Basic board: ✅
  • Load pieces based on given matrix: ✅
  • Make piece stick to cursor on mouse hold: ✅
  • Make piece snap to grid on mouse release: ✅
  • Piece movement restrictions: ✅
  • Check restrictions: ❌
  • Checkmate logic: ❌
  • Pawn promotion logic: ❌
  • Castling logic: ❌
  • En passant logic: ❌
  • Stalemate logic: ❌
  • Drawing logic (threefold repetition, fifty-move rule, impossibility of checkmate): ❌
  • Improve piece snapping system: ✅
  • Basic menu/in-game UI: ❌
  • Offer draw/resign: ❌
  • Board color customizations: ❌
  • Piece image customizations: ❌
  • Implement Stockfish (or some other chess engine) and create a Player vs. Computer mode: ❌