Skip to content

Latest commit

 

History

History
75 lines (52 loc) · 1.94 KB

README.md

File metadata and controls

75 lines (52 loc) · 1.94 KB

Chess Game

This is a clone of the Chess.com using JavaScript.

Try It: https://chess-game-93c2.vercel.app/

Table Of Contents 📖

Overview 🎯

In this project, I've designed and implemented a chess game that includes:

  • Correct available moves for each piece
  • Promote Pawn rule
  • En Passent rule
  • Castling between king and rook
  • Blocking King Moves to cells under attack
  • Checkmate

Demo 🖼️

Capturing Piece

Capturing Piece

En Passent

En Passent

King Checked

King Checked

Your Process 📝

  1. Understood Chess Rules: Chess Video
  2. Collected assets from Chess.com website
  3. Implemented markup
  4. Implemented pieces moves logic using OOP (Specifically Inheritance and Polymorphism)
  5. Implemented board which is the controller of the project
  6. Connected all components together

Built with 🛠️

  • HTML, CSS
  • JavaScript
    • Object-Oriented Programming (OOP)
    • Modules
  • Model-View-Controller Architecture (MVC)

What you Learned 🗒️

  • Managing shared state among multiple functions that modify it
  • Planning large projects

Author 👨🏻‍💻

Thank you for visiting! Check out my other projects: