Skip to content

holdennekt/chess-kursach

Repository files navigation

Chess in JS

Description

Chess implemented from scratch in js. In this game you can test your chess skills. You will have to play against a complex algorithm and you will have to use all your skills to defeat it. In our code all possible variations of moves are implemented, from the usual pawn move to castling and en passant.

Installation

  1. Clone the repository:
$ git clone https://github.com/holdennekt/chess_kursach
  1. Open folder:
$ cd chess_kursach/src
  1. Run the program:
$ google-chrome --new-tab index.html

How to play

Make a move

  • To make a move, click on a piece and click on the suggested square.

To capture piece

  • To capture someone else's piece, click on your piece, then click on the piece you want to capture, it will be highlighted.

More complex moves

  • You can also make more difficult moves, for example castling or en passant. Above you can see how it works

Pawn promotion

  • When you reach the last square with a pawn, you can promote your pawn to any piece from list.

Mate

  • When one side mates, you can start new game.

Participants:

License

This program is distributed under an MIT License.

About

Participants: Nikita Gryshchak, Pinchuk Bohdan

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors