Erlang, Chess and Bitboards. Done

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Erlang, Chess and Bitboards. Done

Hi all,

I found that there was no pure representation of Chess written in Erlang/OTP.

So, now I would like to announce my implementation... Binbo.

It's available on Github:

Binbo is a Chess representation written in pure Erlang using Bitboards. It is basically aimed to be used on game servers where people play chess online.

It’s called Binbo because its ground is a binary board containing only zeros and ones (0 and 1) since this is the main meaning of Bitboards as an internal chessboard representation.

Binbo also uses the Magic Bitboards approach for a blazing fast move generation of sliding pieces (rook, bishop, and queen).

Note: it’s not a chess engine but it could be a good starting point for it. It can play the role of a core (regarding move generation and validation) for multiple chess engines running on distributed Erlang nodes, since Binbo is an OTP application itself.

- Blazing fast move generation and validation.
- No bottlenecks. Every game is an Erlang process (gen_server) with its own game state.
- Ability to create as many concurrent games as many Erlang processes allowed in VM.
- Unicode chess symbols support for the board visualization right in Erlang shell.
- Ready for use on game servers.


Magic Bitboards:

erlang-questions mailing list
[hidden email]