A <chess-board> HTML element for any web page or app
Hello HN, For a few months I'm been working on a fun side-project to port the (awesome) chessboardjs library to an easily reusable and embeddable web component. The quarantine has finally spurred me to put the finishing touches on it. https://justinfagnani.github.io/chessboard-element/ It works in plain HTML files just by writing an HTML tag: And it works in any framework because it's just an HTML element. Styling is encapsulated and customizable with CSS properties and parts: chess-board { --dark-color: darkmagenta; } /* Highlight the e2 square in red */…
What it does
In the maker’s words, at launch
Hello HN, For a few months I'm been working on a fun side-project to port the (awesome) chessboardjs library to an easily reusable and embeddable web component. The quarantine has finally spurred me to put the finishing touches on it. https://justinfagnani.github.io/chessboard-element/ It works in plain HTML files just by writing an HTML tag: <chess-board></chess-board> And it works in any framework because it's just an HTML element. Styling is encapsulated and customizable with CSS properties and parts: chess-board { --dark-color: darkmagenta; } /* Highlight the e2 square in red */ chess-board::part(e2) { box-shadow: inset 0 0 3px 3px red; } I hope it's useful or fun for anyone who wants to do chess things on the web. You can try it out in plain HTML here: https://jsbin.com/jajijab/2/edit?html,output Or in a React app here: https://stackblitz.com/edit/react-chess-board
Does the same job
all alternatives →- BABoardzilla, a framework for making web-based board games2024 · boardzilla.io · ▲574
Show HN: Boardzilla, a framework for making web-based board games Tldr: We’ve made a framework for web-based board games. You can try out some games over at https://boardzilla.io, or you can take a look at https://docs.boardzilla.io to learn more about how to develop your own game. Source is available at https://github.com/boardzilla Hey y’all. My brother and I have made a framework for board games. During the pandemic we started to look at BGA but got discouraged by how old-fashioned the tools were and how cumbersome the development process was. We set out…
- ASA simple site to make chessboard images2020 · chessboardimage.com · ▲79
- CMChessboardify – Make the grid a chessboard2016 · chessboardifygame.xyz · ▲95
- SASameshi – a ~1200 Elo chess engine that fits within 2KBFeb 2026 · github.com · ▲230
I made a chess engine today, and made it fit within 2KB. I used a variant of MinMax called Negamax, with alpha beta pruning. For the board representation I have used a 120-cell "mailbox". I managed to squeeze in checkmate/stalemate in there, after trimming out some edge cases. I am a great fan of demoscene (computer art subculture) since middle school, and hence it was a ritual i had to perform. For estimating the Elo, I measured 240 automated games against Stockfish Elo levels (1320 to 1600) under fixed depth-5 and some constrained rules, using equal color distribution. Then converted…
- MAmade a html5 game, polished it many many times2011 · hotbazooka.com · ▲211
hi all, I've always wanted to make my own game, but couldn't afford a thousand-dollar adobe (flash+photoshop) license. I'm not a talented programmer, have no degree in CS. But I understand some elements of design. So I got me a copy of ImpactJS, and after about 5 months of steep learning curve (at least for me), I managed to come up with a game. I also integrated it with a highscore and badge system, similar to what you get at Kongregate. You need to login with Google/OpenID to earn badges/scores. link is: http://www.hotbazooka.com/privatejoe hope to hear some feedback/questions from you guys!
- OCOnline chessboard without any rules2023 · chasse.fun · ▲16
My personal project: https://github.com/leonidasdeim/chasse Goal was to build session based chessboard game without any rules - to play just like oldschool over the board. Just create new board and share link with a friend. I would appreciate any feedback and github star. Thanks!
More dev tools this month
the category →



The first open-source price index for GPU compute Discussion | Link
Dev tools · 10d ago · producthunt.com

Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 2d ago · opentrailpaper.com
Launched alongside, April 2020
the whole month →- AB
Life & fun · 2020 · youtube.com



- FM
Life & fun · 2020 · gitlab.com
