A working chessboard, made with P5.js. The chess logic is completely written from scratch.
Live link: https://samslotemaker.github.io/chess-board/src/
[X] Pawn move (single + double)
[X] Pawn promoting when reaching the end of the board
[X] Rook move
[X] Bishop move
[X] Horse move
[X] King move
[X] Queen move
[X] Pawns can't move when piece is infront and need to capture diagonally
[X] Pieces can only move as far as the first object in thier way (except the horse)
[X] ^ Horizontal & Vertical
[X] ^ Diagonal
[X] Castling move
[ ] No castling out of check or into check