DOBRO
Binbo - chess representation written in Erlang using Bitboards
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:
https://github.com/DOBRO/binbo
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.
Features:
- 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.
Links.
Bitboards:
Magic Bitboards:
Most Liked
DOBRO
DOBRO
Threefold repetition is now detected.
So, all the chess rules are completely covered.
DOBRO
Binbo 4.0.0 released. Now TCP connections to remote chess engines are natively supported.
I added some examples how to play with remote engines in Quick start section:
https://github.com/DOBRO/binbo#quickstart-uci-over-tcp
Popular in Announcing
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








