{"repo":"Piterden/chessbot","free":true,"listed":false,"github":"https://github.com/Piterden/chessbot","clone":"git clone https://github.com/Piterden/chessbot.git","description":"PvP chess bot for the Telegram messenger. Bot is inline, type @chessy_bot in any chat in the Telegram.","language":"JavaScript","stars":109,"topics":["chess","bot","game","pvp","telegram","inline-keyboard","chess-game","pvp-chess-bot","chess-board","inline-message"],"license":"MIT","category":"game-templates","readme_excerpt":"The PvP chess bot for the Telegram Overview A simple PvP chess game based on inline message and edit a reply markup of a chess board. The board built with callback buttons of inline-keyboard. Bot uses the node-chess package, which is driven by the algebraic notation of moves (PGN). Features: - Inline query to start the game. - PvP - play with friends. - Bot works in any group or private chat. - All moves stored in the DB, so you can play a few games simultaneously. [Demo] (https://t.me/chessy bot) (WIP version) Usage To play chess simply type @chessy bot[SPACE] to your telegram message input box. Then choose a side you want to play with. You will see an inline message with a chess board and a \"Join to game\" at the bottom. When someone join your game, this will be displayed in the status message. Also the \"Join to game\" button will become \"Settings\" . Now everything is ready to start the game. To move your pieces just select a piece you want to move and then select a destination from displayed available to move squares. WARNING!!! The board is rotating each turn by default! The active player always placed at the bottom! Install and run own bot instance First clone this repository and install dependencies. Run in the terminal: Then you have to create and fill up a new .env file: Next migrate the DB: Then run the dev mode: Built With - Telegraf.js - Telegram bot framework for Node.js. - Node-Chess - A simple node.js library for parsing and validating chess board position with an","default_branch":null,"files":null,"tree":[],"storefront":"/r/Piterden","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Piterden/chessbot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}