Skip to content

a chess game for terminal with peer to peer multiplayer and chat

License

Notifications You must be signed in to change notification settings

camtisocial/p2p-chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image

GitHub License GitHub last commit Ubuntu PPA GitHub release (latest by date)

A chess app for terminal with p2p multiplayer and a customizable color pallete


Image



Install

PPA (Ubuntu focal, jammy, noble)

sudo add-apt-repository ppa:camtisocial/p2p-chess
sudo apt update
sudo apt install p2p-chess

From .deb (Any Debian based system)

wget -O p2p-chess.deb https://github.com/camtisocial/p2p-chess/raw/main/releases/p2p-chess_1.0.0_amd64.deb
sudo apt install ./p2p-chess.deb

Manual build (For all other distros)

git clone https://github.com/camtisocial/p2p-chess.git
cd p2p-chess/src
g++ std=c++17 -pthread -o /usr/bin/p2p-chess ./*.cpp -I. 



Usage

  • Just run p2p-chess in your terminal and navigate with your choice of wasd, arrows, or hjkl.
  • use /commands in game (/help, /resign, /draw, /t, etc.)
  • run with the -c flag to see the color options for your terminal
  • adjust options in usr/share/p2p-chess/settings.ini

issues

  • if p2p-chess is crashing on startup, its likely an issue with the filepath for stockfish. Try:
which stockfish

and make sure it is the same path as what's in /usr/share/p2p/chess/settings.ini if not, install it with:

sudo apt install stockfish

Otherwise, please make a bug report and I will address it as fast as I can

About

a chess game for terminal with peer to peer multiplayer and chat

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages