JamSoft.AvaloniaUI.Dialogs
Provides the ability to show various dialogs and child windows in a DI injectable application dialog service ready to p…
C# chess library containing a complete data structure and move generation.
git clone https://github.com/rudzen/ChessLib.gitrudzen/ChessLibA C# chess data library with complete move generation and all needed custom types.
This library contains all the data, types and structures for which to create a piece of chess software. It does not contain any heuristics or search algorithms as these are meant to be implemented separately.
It also contains KPK bit compact data to determine endgame draw.
Yes you can, it is designed with that in mind.
Perft console test program approximate timings to depth 6 for normal start position
ph
// generate all legal moves for current position const string fen = "rnbqkbnr/1ppQpppp/p2p4/8/8/2P5/PP1PPPPP/RNB1KBNR b KQkq - 1 6"; var game = GameFactory.Create(fen); var moveList = game.Pos.GenerateMoves(); // ..
By using the MoveListPool you can avoid allocations and reuse the same MoveList instance.
var moveList = _moveListPool.Get();
moveList.Generate(position, MoveType.Legal);
var moves = moveList.Get();
foreach (var move in moves)
{
// do something
}
_moveListPool.Return(moveList);
more like this
Provides the ability to show various dialogs and child windows in a DI injectable application dialog service ready to p…
Portable chess game in C. Commodore 64, Apple 2, Atari, Oric, Commander X16, curses terminal, etc.
search projects, people, and tags