tage64 / chess-cli Goto Github PK
View Code? Open in Web Editor NEWA repl to edit and analyse chess games.
License: GNU General Public License v3.0
A repl to edit and analyse chess games.
License: GNU General Public License v3.0
It would be very helpful to help blind gamers, a set of commands to explore the board.
Everything that follow a "." fullstop, should be considered an exploration command:
.a reads column a ...
.6 reads row 6 ...
.f7 reads the state of f7 square...
.@b8 Resume all the attack / defence / night's jump / pawn's captures on that suare
.xc3 reads diagonals that include c3 square and their contained pieces eventually
.P list the squares that contains white pawns
.p list the squares that contains black pawns
.r ...the same for black's rooks and so forth
.mt resume the materials still on the board, comparing pieces per type
A new analysis way, like this:
analysis [t##]
Where t stands for timed, followed by a seconds amount, like:
analysis T5
Analysis starts, it lasts for 5 seconds, than it stops automatically and it returns just the main-line generated.
I would rename the py command as it is not really evaulate a python expression but, more precisely a math expression.
So I would call it calculate, shortened in c, or justs exp from expression.
Analysis show must be taken a parameter to specify how many lines retrieve from the engine.
Something like:
analysis [s#]
Where s stands for show and the number indicates how many generated lines we want to see.
for the main line only, we could send:
Analysis s1
or, analysis s5 to see the all five lines generated by the engine.
I put my ideas here for your convenience.
When program starts, put a little intro prompt of itself, especially
Hi. One of the main goal when using a CLI application is to be fast and efficient.
What I really like to have will be a shortened format for every command, like p for play, a for analysis and so on.
The shortened form must live together the present one, so everyone can choose what to use.
The shortened form must have preferably 1 character, or 2 or 3 when is needed.
Hi. today I was trying to run the chess-cli 6 alpha compiled for Windows and Microsoft Defender detected this:
Published Apr 20, 2024| Updated
Trojan:Win64/LunaLogger!pz
Detected by Microsoft Defender Antivirus
Aliases:No associated aliases
Summary
Microsoft Defender Antivirus detects and removes this threat.
This threat can perform a number of actions of a malicious hacker's choice on your PC.
Do you think I've to worry about it?
board and show must report and ascii chessboard which uses the "+" for black square and "-" for white, as it is for standard rappresentation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.