Skip to content

Saurus42/chessarbiter

Repository files navigation

Chessarbiter

Status GitHub Issues GitHub Pull Requests License


A bot designed to play chess on discord. Very easy and pleasant to use, it deals with pinching the correctness of players' movements in pvp. There is also a pvc game option.

📝 Table of Contents

🧐 About

Chessarbiter is a bot that allows you to play chess and checkers on discord. One chess match is assigned to one guild and it is not possible to have more than one game in one guild. There is an option to play PvP and PvC.

🏁 Getting Started

Prerequisites

To run this bot, you must have node.js installed (minimum version up to 14). After installation in the terminal/PowerShell/CMD enter:

npm i -g node-gyp node-pre-gyp

If you want to run on Windows, you must also enter PowerShell as an admin

npm i -g windows-build-tools

In addition, depending on the system, a separate system-dependent configuration must be performed.

Windows

It is required to have GTK 2 and libjpeg-turbo installed

OS X

brew install pkg-config cairo pango libpng jpeg giflib librsvg

Ubuntu

sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev

Fedora

sudo yum install gcc-c++ cairo-devel pango-devel libjpeg-turbo-devel giflib-devel

SOlaris

pkgin install cairo pango pkg-config xproto renderproto kbproto xextproto

OpenBSD

doas pkg_add cairo pango png jpeg giflib

Installing

After completing the configuration, you should clone the repository

git clone https://github.com/Saurus42/chessarbiter.git

Then start installing the packages

npm i

🎈 Usage

To run the bot, you need to generate a data.json file in the main directory of the repository with the following structure

{
  "token": "Prefix-Command-Bot",
  "secret": "Your-Token-Bot"
}

Then just run the batch file to run.

✍️ Authors

🎉 Acknowledgements

  • Everyone who tested the bot during implementation
  • Everyone who supported me during my work.

About

Bot for a chess discord

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors