Git Product home page Git Product logo

chess-react's Introduction

Chess Game App

This is a simple React-based chess game application. It allows you to play chess with two players and keeps track of lost figures for both white and black players. In this learning project, I set out to work with the OOP approach.

Installation

To run this application locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/your-username/chess-game-app.git
    
    
  2. Change to the project directory:

    cd chess-game-app
    
  3. Install the dependencies:

    yarn install
    
    
  4. Start the development server:

    yarn start
    
    

The application will be available at http://localhost:3000 in your web browser.

Usage

When you open the application, it will start a new chess game. The timer at the top of the screen shows the remaining time for the current player's turn. Click on a chess piece to select it, and then click on a valid square to make a move. The application will keep track of lost figures for both white and black players in the "Черные фигуры" (Black Figures) and "Белые фигуры" (White Figures) sections.

Features

React-based chess game. Two-player mode. Timer to track each player's turn. Keeps track of lost figures for both players.

Technologies Used

  • React
  • TypeScript
  • CSS

What needs to be done?

  • Make the interface more attractive
  • Finalise the check-mate logic for King

chess-react's People

Contributors

danilaostrovskiy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.