SIGN UP MEMBER LOGIN:    
ARTICLE

SharpChess in C#

Posted by Peter Hughes Articles | Games Programming C# February 10, 2005
SharpChess (http://www.sharpchess.com) is a computer application that enables you to play chess against the computer. It plays a challenging, tactical and, I'm told, "fun" game of chess.
Reader Level:
Download Files:
 

Description:

SharpChess (
http://www.sharpchess.com) is a computer application that enables you to play chess against the computer. It plays a challenging, tactical and, I'm told, "fun" game of chess.



Overview:

Game features

  • Play the against computer opponent
  • Graphical chess board
  • Helpful high-lighting of legal chess moves, when clicking on a piece
  • Real-time chess clocks
  • Move history displayed
  • Load/Save chess games during play
  • Undo/Redo moves
  • See real-time computer thinking
  • See post-analysis tree of all moves considered by computer
  • Stalemate and 3-move repetition detection

Chess engine features

  • Alpha-Beta search with Pricipal-variation (PVS)
  • Iterative Deepening
  • Hashtable (transition table) using Zobrist Keys. (Separate Pawn & Check hashtables)
  • Null-move forward pruning (verified and non-verified)
  • 0x88 board representation
  • Move ordering using Hash table and History Heuristic
  • Quiescience Search (MVV/LVA and SEE)
  • Search Extensions (Check, Re-Capture, Pawn-promotion)
  • Futility pruning (Standard & Extended)
  • "n moves in x minutes" Move time-allocation algorithm

Programming features

A well-designed, and hopefully easy-to-understand, object-model that will enable other developers to quickly get involved in the project.

Object Model

Login to add your contents and source code to this article
share this article :
post comment
 

Wow, i'm so impressive for this creator, and now i'll learn more for understand about AI logic for the chess game. thanks Mr :)

Posted by iztanbulzzz yena Dec 07, 2010

y???

Posted by jomar casil Aug 26, 2010

not a good game because i will beat you in this game but when i do dont cry to your mommy becuase you are looking at the pro this game so come if you dare because this is your time to lose you loser   

Posted by brandon west Sep 27, 2007

sorry about beating you at this game

Posted by brandon west Sep 27, 2007

  well, it is wonderfull...  i'm trying to understand the AI code, but it is dificult as i'm only with the computer of my work and it have much restricted access to internet  (so, no search of AI cumputer chess form me :(  )   if you could light my way with some article imm DOCc or PDF about chess AI  (the one you used)  to help me understand how it works i would be gratefull :)

Posted by Angelo Cossa Aug 01, 2006
Become a Sponsor
PREMIUM SPONSORS
  • ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications. Visit DynamicPDF here
    ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications. Visit DynamicPDF here
Become a Sponsor