A modern, interactive chess game built with vanilla HTML, CSS, and JavaScript. Play chess in your browser with a clean, responsive interface and prepare for AI opponent integration.
- Interactive Chessboard - Click and drag pieces with visual feedback
- Valid Move Highlighting - See all legal moves for selected pieces
- Full Chess Rules - Implements movement rules for all pieces (pawns, rooks, knights, bishops, queens, kings)
- Move History - Track all moves in algebraic notation
- Captured Pieces Display - View captured pieces for both players
- Undo Functionality - Revert your last move
- Responsive Design - Works seamlessly on desktop and mobile devices
- Dark Mode Support - Automatic theme switching based on system preferences
- AI Integration Ready - Dedicated section prepared for chess engine implementation
- A modern web browser (Chrome, Firefox, Safari, Edge)
- A local web server (optional, but recommended for development)
- Public Domain:
chess-algorithm-rythm.vercel.app
-
Clone the repository
git clone https://github.com/JummyJoeJackson/chess-algorithm.git cd chess-algorithm -
Open the game
- Simply open
index.htmlin your browser, or - Use a local server (recommended):
# Using Python 3 python -m http.server 8000 # Using Node.js http-server npx http-server
- Simply open
-
Start playing!
- Navigate to
http://localhost:8000in your browser
- Navigate to
- Vercel - Scalable Project Deployment
- HTML5 - Semantic structure
- CSS3 - Modern styling with custom properties and grid layout
- JavaScript (ES6+) - Game logic and interactivity
- No dependencies - Pure vanilla JavaScript
- AI opponent integration
- Game save/load functionality
- Multiplayer support
- Timer/clock functionality
- Move validation improvements
Contributions are welcome! Feel free to:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is open source and available under the MIT License.
Diego Gonzalez - @JummyJoeJackson
- Chess piece Unicode symbols
- Modern design inspiration from Chess.com and Lichess.org
- Community feedback and contributions
Enjoy playing chess! โ๏ธ