chess-cli

command module
v0.0.0-...-c5bc949 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

README

chess-cli ♟️

A chess tui app written in Go.
Play locally with a friend or online with Lichess!


♞♞♞♞♞♞♞♞♞♞♞

chess-cli is a tui (terminal user interface) that allows you to play chess, both offline with a friend or online as a Lichess api client.

home game

♞♞♞♞♞♞♞♞♞♞♞

Features

  • Mouse input support
  • Displays move history
  • UCI chess notation input
  • Saving and restoring local games
  • Lichess features:
    • Lichess login w/ oauth
    • Lichess challenge request for real time, unlimited, or correspondence games, with all variants and options supported
    • Challenge a friend or a random player
    • Play against the stockfish AI
    • Join ongoing games
    • Join from your incoming challenges

♞♞♞♞♞♞♞♞♞♞♞

dependency documentation:

https://lichess.org/api for lichess

https://pkg.go.dev/github.com/notnil/chess chess lib

https://docs.rocketnine.space/code.rocketnine.space/tslocum/cview/ cview

https://code.rocketnine.space/tslocum/cview/src/branch/master/demos cview demos

https://pkg.go.dev/net/http

https://mholt.github.io/json-to-go/

♞♞♞♞♞♞♞♞♞♞♞

todo:
general
  • Handle all notation types or choose notation to start
local client
  • add time options
oauth
  • handle if oauth rejected mid process
online
  • exit option on loader
  • challenge construction
    • set default interval position for sliders
    • custom starting position option for challenges
  • client
    • chat
    • rematch option post game

♞♞♞♞♞♞♞♞♞♞♞

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL