franciscobsalgueiro / en-croissant Goto Github PK
View Code? Open in Web Editor NEWThe Ultimate Chess Toolkit
Home Page: https://encroissant.org
License: GNU General Public License v3.0
The Ultimate Chess Toolkit
Home Page: https://encroissant.org
License: GNU General Public License v3.0
I tried on MacOS to add my chess.com account. Then this error occurs :
Application error: a client-side exception has occurred (see the browser console for more information).
Of course, the Home menu is not working anymore, always showing this message when I try to open it. I tried to delete the app and install it again, but the same message appears. I think a file was written in my system and the new installed app uses this file โฆ
I'm using en croissant on MacOS 13 Ventura. When I import my opening repertoire in PGN format, each opening is stored as one game with many variations. En croissant says each of these games have only 1 variation, the main line. The issue is not in the PGN file as opening it in Stockfish for Mac or ChessX shows the variations correctly.
Currently, for simplicity, engine processes are restarted on every position or settings change. However, they should be kept alive and the changes to position and settings be done through the uci protocol (#11 (comment))
Problems:
Hello again. I still cannot add an engine on MacOS en-crossaint new version v2.1. I go to -engines-add-local-click-in-the-binary-field and all engine binaries are still greyed out. Am I missing some option?
Also although I could download Komodo under -engines-download it will never actually start (no err msg, nothing) if I select it to play against as an engine or for analysis. . So I really cannot test ANY of the play or analysis features on MacOS!
Thanks in advance. - kenpchess
Hello! I noticed you are making a lot of commits. Are you going to make a new release anytime soon? (I am on an older mac - Big Sur OS) and never was able to build from source anyway. Thanks in advance.
I would like to implement this, however I can't find any standard way of representing puzzles.
I made the lichess puzzle db with a small script to convert from the specific format used by the lichess database to the SQL format accepted by en croissant.
Now that Mantine Datatable supports v7 we can start the migration to the new version, which will require some rewriting of the styles code.
This should be fixed by bf0ddfb
Changing the piece sets in the settings does nothing, even after restarting the program.
I tried adding my Lichess account although it has been closed to test, if en-croissant can still download its games.
The application immediately crashed and crashes every time I start it again. It only becomes usable again after deleting en-croissant's AppData directory.
I verified, that the same problem happens, if I try to add other closed accounts and that adding accounts, that are not closed, works.
1. Go to Accounts->Add Account
2. Choose Website=Lichess and Username=Nevsor
3. Click Add
OS: Windows 11
en-croissant: v0.6.0
Cannot read properties of undefined (reading 'ultraBullet')
TypeError: Cannot read properties of undefined (reading 'ultraBullet')
at https://tauri.localhost/assets/index.js:1123:126023
at Array.map (<anonymous>)
at NTt (https://tauri.localhost/assets/index.js:1123:125915)
at nP (https://tauri.localhost/assets/index.js:38:19551)
at Ok (https://tauri.localhost/assets/index.js:40:3143)
at IJ (https://tauri.localhost/assets/index.js:40:44877)
at AJ (https://tauri.localhost/assets/index.js:40:39819)
at d5e (https://tauri.localhost/assets/index.js:40:39745)
at S6 (https://tauri.localhost/assets/index.js:40:39596)
at Dk (https://tauri.localhost/assets/index.js:40:35959)
If I download and install En Croissant from the web page, open a game then run an Analysis Report, values in Brilliant, Good, Interesting, Dubious, Mistake or Blunders and moves are highlighted appropriately. And since the pre-reported Chess.com download failures still exist in this version, I would assume it hasn't been updated yet to the latest versions available on Github. But, if I download from Github and build, the values on the Analysis Report are always zero and nothing is highlighted in the move list. In addition the ACPL and Accuracy values are quite a bit different than before (maybe this is as-expected, but I find it hard to believe that my games evaluate to over 99% accuracy pretty much always ... I wish!). The Generate Report Button updates to indicate the evaluation is running.... so something is happening. Other updates (like the aforementioned Chess.com downloads) now work. It feels like my build process works as-expected, etc (I just followed the instructions provided for setup and build using VS Code).
position [fen | startpos] moves ...
uci
command also outputs all the available options with their type, and their default values. Sending the engine options that it doesn't support may cause unexpected issues.[FEN "rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1"]
[SetUp "1"]
1...e5 2.Nf3 Nc6 *
[FEN "rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq - 0 1"]
1. e5 Nf3 2. Nc6
navigator.hardwareConcurrency
w - - 0 1
if some are missingsearchmoves
)colSpan={3}
en-croissant/src/components/engines/EnginesPage.tsx
Lines 62 to 70 in bd3c3a7
1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Nxe4 *
1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. d3 Bc5 5. c3 O-O 6. O-O d6 *
[FEN "r4rk1/1pp3p1/p2p1qPn/3Pp3/2P1B1b1/5N2/PP2QPPR/1K1R4 b - - 4 26"]
[SetUp "1"]
26... Bf5 27.Nd2 Ng4 28.Qxg4 *
Support all variants from lichess.
When you reach a checkmate position, it seems odd to stop the engine - often I want to walk backwards from a position and evaluate the positions that lead up to that and it's annoying to have to restart the engine process.
Repro:
Hello, interesting software! I cannot add an engine under the Mac OS version of en-crossant. It seems that all engine binaries are greyed-out under the local file selection (the download option seems to work, though). (I have dozens of UCI and WindBoard engines, I compile them myself and they work fine under cutechess, BanksiaGUI, etc). I hope you keep improving en-croissant, it is "rough around the edges" but very interesting. Thanks! --kenpchess
Currently, many actions that require significant processing time are indicated by a simple spinner. However, some of these actions could benefit from a more detailed progress indicator to give users a better sense of how long the process will take, what stage it is currently at, and whether any errors have occurred.
Suggested by @kenpchess in a discussion in #3
The WDL results of players in a database are counting a white win as a win and a black win as a loss, ignoring what color the player actually played.
en-croissant/src-tauri/src/db/mod.rs
Lines 1065 to 1066 in aa3fce6
Unable to reproduce, even on Linux. I can try a fix but I'm not sure if it'll work.
The steps I followed were the following:
I don't know what the issue is, but I've been trying to fix this for the last couple of hours without much success, so any help I could get would be appreciated.
As a chess newb - these are useful to see.
Promote variation
Delete variation
File deletion works as long as the "Virus & threat protection -> Ransomware protection -> Controlled folder access" is turned off.
v0.5.0
Hey im loving the style of the GUI.
I understand that its still early in development. Is there some kind of setting i have to check for the app to save engine settings like threads, depth and hashsize? Would love to not enter those again every time after starting.
Thanks!
It would be nice to have an eval chart shown after generating a report of a game similar to what lichess shows:
May need some reworking of the Report panel as there doesn't look to be much space for it currently, perhaps the section with accuracy / acpl / number of good etc moves could be compacted? Or the chart could go in another panel potentially.
Lichess uses a highcharts
area chart, should hopefully also be possible to make something similar with recharts
area chart https://recharts.org/en-US/api/AreaChart
I'm happy to add this, just wanted to check if it was a feature you wanted first and if you have any thoughts about where it should go in the UI
Sidenotes:
Suggestion to rework the practice mode to use a spaced repetition algorithm that factors in things like date solved to determine when positions should next be reviewed. A common one is SM-2 (example implementation: https://github.com/Maxvien/supermemo)
IMO the current workflow is a little clunky as well with needing to click on "Practice next position" / "Practice random position" after each position.
I can try adding this at some point if you would be happy with the change
Adding a Chess.com account works, but when the option to download games is clicked it doesn't work and the wait indicator just spins. The downloads never occur. Lichess downloads are working fine.
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.