Skip to content

cjpdev/ZobristCSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C# implementation of Zobrist Hash for FEN strings Used to lookup opening book moves for computer player in my chess program.

Convert the current board pieces layout and game info such as (castling, en-passant, fifty move draw counter, moves) from FEN formated string to a Zorbrist Hash, and than look it up to see if there are any known moves for the board layout.

This is a more robust implementation, as we don't want to generate rubish keys. Also I want error reporting to show problem in the FEN.

Initial implemented for a chess game I never released (Computer player lookup). This is part of a pair of implementations the other being my PolyglotCSharp Hash, https://github.com/cjpdev/PolyglotCSharp

The intergration test app is: https://github.com/cjpdev/ZobristPolyglotCSharp

alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages