scalachess
AsyncAwaitBestPractices
scalachess | AsyncAwaitBestPractices | |
---|---|---|
12 | 4 | |
622 | 1,554 | |
1.6% | - | |
9.7 | 7.7 | |
15 days ago | about 1 month ago | |
Scala | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
scalachess
-
Lichess potentially allowed promotion of pawns to king
Well, only since this year, it seems.
-
The reason why you need good, thorough tests when writing chess engines
From another reddit thread I got the link to the commit with the fix. Thankfully, they did add a test case for this: https://github.com/lichess-org/scalachess/commit/f5218340b2a229fa519ecd239fe50aee722bcd0f
-
lichess doesn't let me capture en passant in the game, only in the analysis board
To be fair, that TODO has only been there for three weeks, which seems reasonable, especially considering it was written by a volunteer.
- Why does nobody play Capablanca chess anymore, while Fisher random is quite popular?
-
White to move. This position is a win in lichess, draw in chess.com.
Lichess does not check for mate. It simply doesn't consider KBvKN a drawn endgame.
- Where can I find lines to test my new music-memory technique?
-
Ask HN: Codebases with great, easy to read code?
https://github.com/lichess-org/scalachess/tree/master/src/ma...
It's funny because I remember comparing it to mine that I had tried to write during college, and appreciating how much better it is.
Pay attention to how there's a bunch of different types of chess in there too, and how that's factored.
-
A writeup on definitions of "insufficient material"
The Lichess implementation is as follows:
-
How chess websites define insufficient mating material.
The Lichess implementation does not fully comply with those rules. It looks strictly at the material on the board.
-
Always wondered if lichess is smart enough to notice this is a draw
For reference, here's the current implementation.
AsyncAwaitBestPractices
- Async workaround ideas for a shared class library problem
-
How to Upload an Image to a Server in the Background?
Here's the repo: https://github.com/brminnick/AsyncAwaitBestPractices
-
Ask HN: Codebases with great, easy to read code?
This guy made a HN mobile reader and put all the code on Github for his NDC Oslo presentation, it was good and shows off very readable asynchronous code in C#:
https://github.com/brminnick/AsyncAwaitBestPractices
-
A little help with Task async await
There is a nuget package that gives you SafeFireAndForget if you really don’t want to await an async method. (https://github.com/brminnick/AsyncAwaitBestPractices)
What are some alternatives?
lila - ♞ lichess.org: the forever free, adless and open source chess server ♞
FluentScheduler - Automated job scheduler with fluent interface for the .NET platform.
requests - A simple, yet elegant, HTTP library.
Workflow Core - Lightweight workflow engine for .NET Standard
Django - The Web framework for perfectionists with deadlines.
QuartzNet - Quartz Enterprise Scheduler .NET
ramda - :ram: Practical functional Javascript
DurableTask - Durable Task Framework allows users to write long running persistent workflows in C# using the async/await capabilities.
CPython - The Python programming language
Cronos - A fully-featured .NET library for working with Cron expressions. Built with time zones in mind and intuitively handles daylight saving time transitions
Chroniton - A library for running tasks(jobs) on schedules.
eternity - Long running workflows with ability to suspend and replay the workflow in future.