implement simple chess playing gui using chessboardjs and chess.js libraries