Skip to content

Tejashsharan/chessProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

26 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

β™ŸοΈ Chess Game (HTML/CSS/JavaScript)

A fully functional browser-based Chess game built using HTML, CSS, and JavaScript (94% Vanilla JS). This project allows two players to play a standard chess match directly in the browser without any third-party libraries.

πŸš€ Features

  • β™” Standard 8x8 Chessboard
  • β™ž All chess pieces with standard movements
  • βš–οΈ Basic rule enforcement (e.g., legal moves, check/checkmate)
  • πŸ” Move validation and turn-based logic
  • ✨ Interactive UI with responsive design
  • 🧠 Pure Vanilla JavaScript implementation (No frameworks/libraries)

πŸ› οΈ Technologies Used

  • HTML5 – Structure and layout
  • CSS3 – Styling and animations
  • JavaScript (Vanilla) – Game logic, move handling, event listeners

πŸ“‚ Project Structure

πŸ“ chess-game/
β”œβ”€β”€ index.html       # Main HTML file
β”œβ”€β”€ style.css        # Styling and layout
β”œβ”€β”€ script.js        # Core game logic
└── assets/          # Optional folder for piece icons or images

🧩 How It Works

  • Initializes an 8x8 board and populates pieces in standard layout.
  • Each move is validated based on the piece's logic.
  • Handles turn switching, captures, and basic win conditions.
  • UI updates dynamically to reflect moves and board state.

πŸ“¦ How to Run

  1. Clone the repository:

    git clone https://github.com/your-username/chess-game.git
  2. Open index.html in your browser.

No installation or server required β€” pure front-end!

πŸ§‘β€πŸ’» Author

Tejash Sharan GitHub | LinkedIn

About

Config files for my GitHub profile.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published