Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏆 One-Day Chess Challenge

Chess Board

About the Project

This project is a fully functional chess application that I challenged myself to build in just one day, completely from scratch. All chess logic, move validation, and game mechanics were implemented without consulting external resources or Googling solutions.

Try it out!

Play vs Patricia (Your other self, ifykyk)

Key Features

  • ♟️ Complete chess rules implementation
  • ♞ Special moves: Castling, En Passant, Pawn Promotion
  • ♝ Check and Checkmate detection
  • ♜ Legal move highlighting
  • ♚ Turn-based gameplay
  • ♛ Clean and intuitive UI

Technologies Used

  • React - Frontend UI library
  • JavaScript - Core programming language
  • Vite - Next generation frontend tooling
  • CSS - Custom styling for the chess board and pieces

Implementation Highlights

The chess engine was built from the ground up with careful attention to the rules and mechanics of chess:

  • Custom algorithms for move validation for each piece type
  • Check/checkmate detection system
  • Game state management with React hooks
  • Pure CSS for the board layout and styling

Getting Started

# Install dependencies
npm install

# Run development server
npm run dev

# Build for production
npm run build

Project Structure

  • src/App.jsx - Main application logic and chess engine
  • src/App.css - Chess board and piece styling
  • public/ - Chess piece assets (borrowed from chess.com)

Acknowledgments

Chess piece images were borrowed from chess.com for visual representation.


🔥 Designed & Developed by: Ned Boudeli in one day as a personal challenge.

About

A chess game playable on web, using react, assets "borrowed" from chess.com

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages