---
title: "Discussion on \"Make a basic chess board with chessboard.js\" | Hashnode"
description: "Discussion on \"Make a basic chess board with chessboard.js\". Tutorial to learn the basics of chessboard.js. Create static and interactive chess boards."
url: "https://hashnode.com/posts/make-a-basic-chess-board-with-chessboardjs/631e10773e8d6f3497ad6f74"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Make a basic chess board with chessboard.js](https://soosweb3.hashnode.dev/make-a-basic-chess-board-with-chessboardjs?utm_source=hashnode&utm_medium=feed)

Tutorial to learn the basics of chessboard.js. Create static and interactive chess boards.

Sep 11, 2022 · 12 min read · soosweb3.hashnode.dev  
Updated Sep 17, 2022  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#html5](https://hashnode.com/tag/html5)
-   [#chess](https://hashnode.com/tag/chess)
-   [#developer](https://hashnode.com/tag/developer)
-   [#chessboardjs](https://hashnode.com/tag/chessboardjs)

## Written by

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

@web3Dave · Brazil

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

Hey there! I'm Davide, a passionate developer advocate at Chainstack, the leading suite of blockchain infrastructure services. I'm dedicat

Hey there! I'm Davide, a passionate developer advocate at Chainstack, the leading suite of blockchain infrastructure services. I'm dedicated to empowering current and aspiring web3 developers by sharing valuable content and resources. Within my articles, you'll discover a treasure trove of straightforward projects designed to bolster your understanding of fundamental Python, Solidity, JavaScript, and web3 skills. Whether you're a seasoned developer or just starting out, these projects offer an ideal learning path for honing your abilities in the exciting world of blockchain development. Feel free to explore my articles, and let's embark on this remarkable journey of mastering web3 together!

## Responses 2

Markdown supported · ⌘↵ to post

[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

[Victoria Lo](https://hashnode.com/@victoria)

[Sep 13, 2022](https://hashnode.com/posts/make-a-basic-chess-board-with-chessboardjs/631e10773e8d6f3497ad6f74/comment/631ff29e6c86d75accc7fa41)

Great article for beginners to learn how to make a chessboard [Davide](https://hashnode.com/@web3Dave)! Now the hard part will be the coding the game rules haha! 😅 Thanks for sharing!

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

[Sep 13, 2022](https://hashnode.com/posts/make-a-basic-chess-board-with-chessboardjs/631e10773e8d6f3497ad6f74/comment/631ff29e6c86d75accc7fa41#reply-632079deaf1ce46dbc543778)

Thank you! Actually there is a library for that too 😆 I'm working on the second part! The difficult part I think is to create an AI to play against 😅
