Skip to content

Deno Chess

Deno-Chess Logo

Deno Chess is a small chess library that I started early pandemic after getting on a real Deno kick, and noticing that there was no chess library in the ecosystem yet. I started off with a simple goal of "basic chess engine" but ended up being able to optimize it to a point where it was significantly faster (around 10x at the time) than the established chess.js project. How did I get there? Typed arrays, basically. And a bunch of bit-math. And a novel threat-mapping algorithm.

About that name

Despite the name, and being first hosted on Deno's package ecosystem, there is actually nothing in this library exclusive to Deno. It can run in most browsers, just fine. Naming is hard, and I am THE WORST at it.