===============
This is a simple React application for visualizing chess games using Chessboard.jsx for the chessboard visualization and Chess.js for the game logic.
To install and run this application locally, follow these steps:
- Clone the repository to your local machine:
git clone https://github.com/dominic_g/simple_chess.git
- Navigate into the project directory:
cd chess-react-app
- Install dependencies using npm or yarn:
npm install
or
yarn install
- Start the development server:
npm start
or
yarn start
- Open your browser and visit http://localhost:3000 to view the app.
This application is built using React.js, Chessboard.jsx, and Chess.js. Here's a brief overview of the setup:
React.js: A JavaScript library for building user interfaces. React enables us to create reusable UI components and manage the state of our application efficiently.
Chessboard.jsx: A React component for chessboard visualization. It provides an easy-to-use interface for displaying a chessboard with customizable styling.
Chess.js: A JavaScript library for chess game logic. Chess.js allows us to handle chess game mechanics such as legal moves, checkmate detection, and more.