📫 Here is my blog: https://nikolay.it
📽️ Here is my YouTube channel: https://www.youtube.com/c/NikolayKostov1990
Chat bot for https://tcec-chess.com/
License: MIT License
📫 Here is my blog: https://nikolay.it
📽️ Here is my YouTube channel: https://www.youtube.com/c/NikolayKostov1990
I have a problem keeping the bot alive, sometimes after a day or so the Twitch bot client disconnects and reconnects(as expected), however, it lost all message events afterwards.
Steps to reproduce:
Add OnReconnected
handler and print logs in there, I can see after step 2 the reconnection is successful, but repeating step 2, it will not trigger the handler anymore.
I think the !time command could get even more popular if the number of moves was included.
Maybe like (example after four played games in Division 4):
216/220 games left • Average duration: 01:11:59 • Estimated division end: Wed, 28 Nov 2018 15:53:34 GMT • Shortest game: 01:03:49 (54 moves)• Longest game: 01:24:08 (82 moves)
Or maybe like (as shortest/longest game in time, is not always the game with fewest/most moves):
216/220 games left • Average duration: 01:11:59 • Estimated division end: Wed, 28 Nov 2018 15:53:34 GMT • Shortest game: 01:03:49 • Longest game: 01:24:08 • Fewest moves: 50 • Most moves: 82
LCZero_0.16 (11260) could be upgraded to 18.1 (11248) please.
https://github.com/LeelaChessZero/lc0/releases/tag/v0.18.1
and net is:
http://lczero.org/get_network?sha=994de36c13ddf2540bf588817fcca0cb4e279e61c7d118c3bccc9c74419caecd
Readability can be improved a bit:
g8f6 -> Ng8-f6 -or even-> Nf6
This is my first ever issue entry, pls frgv abnormalities :)
!define plan
eval_bot plan: Unexpected character encountered while parsing value: U. Path '', line 0, position 0. https://en.wiktionary.org/wiki/plan
error "no active game was found" when valid game was playing at TCEC, in the middle of game.
Also, it was Mark Lefter himself who tried !eval and got such error. What luck!
So, I presume when Eval Bot tried to fetch FEN for evaluation, for some reason there was no response from TCEC server. that's why "no active game was found".
It should re-try to fetch for FEN, and issue fail message only after many re-tries.
Hello Nikolay, thanks for all your contributions to TCEC. Is it possible to create an eval command that could evaluate specific moves in the current real-time game position? Such as !eval 26. a5 for example...
Error while executing "!reverse": System.NullReferenceException: Object reference not set to an instance of an object.
at TcecEvaluationBot.ConsoleUI.Commands.ReverseCommand.<>c.<ToShortNotation>b__3_1(Move x) in C:\Dev\TcecEvaluationBot\src\TcecEvaluationBot.ConsoleUI\Commands\ReverseCommand.cs:line 56
at System.Linq.Enumerable.WhereListIterator`1.ToList()
at TcecEvaluationBot.ConsoleUI.Commands.ReverseCommand.ToShortNotation(Game game, Int32 firstNPlies) in C:\Dev\TcecEvaluationBot\src\TcecEvaluationBot.ConsoleUI\Commands\ReverseCommand.cs:line 56
at TcecEvaluationBot.ConsoleUI.Commands.ReverseCommand.Execute(String message) in C:\Dev\TcecEvaluationBot\src\TcecEvaluationBot.ConsoleUI\Commands\ReverseCommand.cs:line 42
at TcecEvaluationBot.ConsoleUI.TwitchBot.<>c__DisplayClass7_0.<Run>b__2(Object sender, OnMessageReceivedArgs arguments) in C:\Dev\TcecEvaluationBot\src\TcecEvaluationBot.ConsoleUI\TwitchBot.cs:line 106```
The bot already displays the estimated starting time of an upcoming game with the !time <game number>
command, but twitch viewers don't have access to the TCEC schedule so there is no easy way for them to tell the game number of the current (or any other) game.
JamesTCEC suggested a !nextgame
command for the bot with the same effect as a !time <current game number> + 1
. (The command should preferably be called !nextgame
because !next
is already taken by Nightbot.)
It gives Kxg8
instead of O-O
, quote: eval_bot (13w) 1.04 d31 (tb 4) pv Qf2(g3f2) Kxg8(e8g8) <SF_240518>
Text format API has '\0' at end of line for legacy purposes, modern applications can make use of json output by adding &json=1
to the request here:
which will result in responses like this:
https://www.chessdb.cn/cdb.php?action=queryall&learn=1&showall=1&board=rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR%20w%20KQkq%20-%200%201&json=1
Results will have moves in SAN notations which simplifies this:
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.