Giter Club home page Giter Club logo

cli-chess's People

Contributors

github-actions[bot] avatar trevorbayless avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cli-chess's Issues

create a PGN of the game, after finished

Hi, I think, it should be possible to recieve a PGN-file after a played game is finished to analyze it further.
To write a PGN, you can use python-chess by niklasf.

For example: you play a game against the Fairy Stockfish and you want to analyze it on Lichess or Chessx with Stockfish. Therefore you need a PGN, to insert it and let Stockfish analyze it.

“Error starting engine: engine process died unexpectedly (exit code: 1)”

Steps to reproduce the bug

  1. run cli-chess
  2. press F1

Then I get a message warning me that fairy-stockfish died

I tryed fairychess with other interfaces and it work.

Operating system

5.10.0-25-amd64 #1 SMP Debian 5.10.191-1 (2023-08-16) x86_64 GNU/Linux

Terminal and version

Urxvt, Kitty, gnome-terminal

cli-chess version

cli-chess v1.1.0

Additional information

Fairy-Stockfish 11.1 LB 64 by Fabian Fichter

Premoves

What feature would you like to see in cli-chess?

Rather a big topic, so let's discuss:

My thinking was to append all moves entered out of turn into a premove table, which is then shown in the bottom right corner. Then attempted to be played automatically when the turn comes. Esc to clear.

Of course, the correct way would be to also mark them with say red on the board, and then check validity of every appended premove with the position of the pieces after the previous premove. But seems like this can be just added later.

If that is in line with your vision, happy to contribute the first part.

Fill in the pawns

What feature would you like to see in cli-chess?

Black and white pawns look too similar.

Have clocks count down during online games

Currently, clock data is statically displayed for online games (including TV). Ideally, this is updated so the clocks count down depending on the side to play. This should happen asynchronously.

Offline game rated 1500 played like 500

Steps to reproduce the bug

Play offline game against fairy stockfish (elo 1500 in my game.)

Didn’t take back on exchanges, gave up pieces, etc. Nothing near a level 1500 bot.

Operating system

Kali Linux

Terminal and version

Zsh 5.9 but I doubt it matters

cli-chess version

1.0.0

Additional information

No response

Highlight the selected squares as I type

What feature would you like to see in cli-chess?

For instance, in N1b3, when I have typed N1 you can highlight the knight that will move. If I have only one knight, N is enough. (Optionally, also highlight the legal moves it has, and/or allow autocompletion). When a legal move has been typed (but I haven't hit enter) you can show what move will be made if I hit enter.

cant run on google colab

Steps to reproduce the bug

steps to reproduce

pip install -U cli-chess
!cli-chess 

image

Operating system

ubuntu on google colab

Terminal and version

ubuntu on google colab

cli-chess version

1.0.1

Additional information

when use [ARROWS] to navigate the menus.
it will change the browser scrollbar up, down

When Use [SPACEBAR] or [ENTER] to modify values.
it will type the space horizontal (spacebar)
or
vertical space / carriage return (enter)

image

Include 'how to set the starting position for an offline game' in the README

What feature would you like to see in cli-chess?

Include 'how to set the starting position for an offline game' in the README

Scenario:

Given I am a chess beginner
And I want to practice variations on a specific opening
When I specify the opening moves
Then I should be able to continue from this position
And it should be documented on the README.md FAQs

Accept lower-case SAN

What feature would you like to see in cli-chess?

When typing moves it would be nice to be able to do nb3 , but this is rejected and Nb3 is required.

Time controls for offline games

Add the ability to set a time control for offline games. The following need to be considered when implementing:

  • Time should be displayed
  • Increments should be honored
  • Time should adjust accordingly on move takebacks
  • Time needs to be passed along to the engine

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.