This is a chess program made with HTML, JavaScript and CSS without any frameworks or libraries.
For the rules of chess, please consult other sources such as Wikipedia.
In the control panel on the left (or bottom on mobile devices), you can see the current turn, rotate the board, restart, draw and resign the game. You can also toggle highlights for the previous move, allowed squares and checks.
In the board in the middle, you can move the pieces either by selecting them with a click and then selecting their target square or by dragging and dropping them.
In the notation panel on the right (or top on mobile devices), you can see the previous moves. You can also click on them or use the arrow keys to restore previous game positions. The game outcome is also displayed here.
Apart from stalemate there are three situations in which the game automatically draws:
Chess is played with two players, but currently this program only works in one window in which both players have to alternate making moves.
The game design is responsive, so that it changes when you resize the window or use a mobile device.
Script Raccoon, 2020