A simple chess webapp in which you play as both players.
- Game state is remembered between page refreshes (using local storage)
- Clicking on a piece you control shows you the allowed moves you can make
- Tells you if you are in check, checkmate, or stalemate
- Game prevents you from moving your king into check
- Supports castling
- Supports en passant
- Supports pawn promotion
- Write more tests
- Multiplayer and/or AI functionality
- Create React App - to build the scaffolding
- Lodash - to simplify some iterative logic
- react-fontawesome - for chess piece icons
- Redux - for managing application state
- React Redux - for binding React and Redux
- Semantic UI - for some styling
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.