---
title: "Comment by Toby Black on \"Make a basic chess board with chessboard.js\" | Hashnode"
description: "Thank you so much for this tutorial Davide! I saw they have an example to only allow legal moves and tried to integrate it but couldn&#39;t get it to work, have"
url: "https://hashnode.com/posts/make-a-basic-chess-board-with-chessboardjs/631e10773e8d6f3497ad6f74/comment/646e33e1b16e4c4af2910b4f"
---

[Discussion](https://hashnode.com/posts/make-a-basic-chess-board-with-chessboardjs/631e10773e8d6f3497ad6f74)

Comment [Make a basic chess board with chessboard.js](https://hashnode.com/posts/make-a-basic-chess-board-with-chessboardjs/631e10773e8d6f3497ad6f74)

[Toby Black](https://hashnode.com/@tobyb23)

[May 24, 2023](https://hashnode.com/posts/make-a-basic-chess-board-with-chessboardjs/631e10773e8d6f3497ad6f74/comment/646e33e1b16e4c4af2910b4f)

Thank you so much for this tutorial Davide! I saw they have an example to only allow legal moves and tried to integrate it but couldn't get it to work, have you gotten it to work yet?

[Davide](https://hashnode.com/@web3Dave)

[May 26, 2023](https://hashnode.com/posts/make-a-basic-chess-board-with-chessboardjs/631e10773e8d6f3497ad6f74/comment/646e33e1b16e4c4af2910b4f#reply-64712c9ad8bec2899c4bed3b)

Thank you! Let me check that, and I'll get back to you
