Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/easychessanimations/gobbit

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/easychessanimations/gobbit

  • v0.0.0-20200514052925-f221fadd6493
  • Source
  • Go
  • Socket score

Version published
Created
Source

gobbit

Go language bitboard multi variant chess analysis engine.

Motivation

  • When you want to analyze a variant it is tempting to modify an existing engine, but this carries risks and difficulties. I wanted an engine that I fully understand and is general enough so that it can accomodate many variants.

  • Portability is important for me. Go is a very portable language, building for a given platform only takes setting two environment variables before running the build command ( the same is not true for C/C++, building for Linux under Windows is close to impossible ). Go is also a pretty low level language ( though not as low level as C/C++ ), so it allows creating a fast native executable. Go compiler has a WASM port, which allows running the engine in the browser.

  • The engine was inspired by an existing Go language bitboard engine Zurichess which is listed on CCRL and is rated 2800 there. Many ideas were taken over, however not slavishly.

Variants

Supported variants are Standard, 8-Piece and Atomic.

Protocol

The engine operates on a useful fraction of the UCI protocol. Only analysis features are supported, the engine has no time management and it cannot be used to play a live game.

Online

The WASM build of the engine is available online at

https://gobbitengine.netlify.app/

Binaries

Precompiled binaries are available in the dist folder.

Windows binary

dist\gobbit.exe

Linux binary

dist\gobbit

Mac binary

dist\gobbitmac

Instructions for easy usage

gobbit wiki

Building

Prerequisites

Go language's latest version has to be installed on your computer.

Cloning

git clone https://github.com/easychessanimations/gobbit.git

Customizing module definition

In go.mod change C:/gomodules/modules/gobbit to the absolute path of the folder where you cloned the repository.

Building on Windows

Customizing the build script

In s\b.bat change C:/gomodules/modules/gobbit to the absolute path of the folder where you cloned the repository.

Running the build script

s\b

This will create the Windows and Linux executable in the dist folder and the web site that can run the WASM executable, including the WASM executable and the glue code, in the site folder.

Building on other systems

Study the build instructions for Windows, customize and convert the Windows build script to a script that your system understands, then run this build script.

Discussion

The engine can be discussed live at

easychess Discord

FAQs

Package last updated on 14 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc