Click here to Skip to main content
15,888,260 members
Home / Discussions / C#
   

C#

 
AnswerRe: saving in database with C# Pin
Pete O'Hanlon21-Mar-12 12:01
mvePete O'Hanlon21-Mar-12 12:01 
AnswerRe: saving in database with C# Pin
RobCroll21-Mar-12 12:18
RobCroll21-Mar-12 12:18 
QuestionChess Pin
rahimfakir21-Mar-12 9:52
rahimfakir21-Mar-12 9:52 
AnswerRe: Chess Pin
Maximilien21-Mar-12 10:24
Maximilien21-Mar-12 10:24 
GeneralRe: Chess Pin
rahimfakir21-Mar-12 11:34
rahimfakir21-Mar-12 11:34 
AnswerRe: Chess Pin
Pete O'Hanlon21-Mar-12 10:26
mvePete O'Hanlon21-Mar-12 10:26 
AnswerRe: Chess Pin
RobCroll21-Mar-12 12:10
RobCroll21-Mar-12 12:10 
AnswerRe: Chess Pin
Luc Pattyn21-Mar-12 14:14
sitebuilderLuc Pattyn21-Mar-12 14:14 
A decent chess game (i.e. a program that plays a decent game against a human player) takes well over 100K lines of code, are you ready for that?

What is needed, apart from a move generator and a user interface, are among others:
- a way to incorporate current knowledge about openings;
- a way to incorporate current knowledge about endgames;
- a sophisticated position evaluation system;
- lots of heuristics;
- and all this in such a way as to not waste any CPU cycles, as calculation speed means strength.
FYI: One could fill an entire library with books on computer chess.

The program maximilien provided a link to only has some 16K LOC, however it does have an opening book, which compensates a bit. I gave it a try and was not impressed by its speed. Its playing level may be on par with Microsoft's Chess Titans (played at level 8), which isn't saying much.

If you want to enter the field of chess programming, I suggest you select a specific area, here are a few possibilities:
- solve mate-in-2 and mate-in-3 problems;
- analyse a specific endgame (e.g. K+two bishops against K; or K+rook against K+one or two pawns);
etc.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum


modified 21-Mar-12 20:33pm.

AnswerRe: Chess Pin
Abhinav S21-Mar-12 18:02
Abhinav S21-Mar-12 18:02 
QuestionC# working with excel Pin
sc steinhayse21-Mar-12 6:26
sc steinhayse21-Mar-12 6:26 
AnswerRe: C# working with excel Pin
Ravi Bhavnani21-Mar-12 6:30
professionalRavi Bhavnani21-Mar-12 6:30 
Questionlogging failure using Trace.Listener Pin
Member 842933321-Mar-12 5:12
Member 842933321-Mar-12 5:12 
AnswerRe: logging failure using Trace.Listener Pin
Eddy Vluggen21-Mar-12 6:11
professionalEddy Vluggen21-Mar-12 6:11 
GeneralRe: logging failure using Trace.Listener Pin
Bernhard Hiller21-Mar-12 21:29
Bernhard Hiller21-Mar-12 21:29 
AnswerRe: logging failure using Trace.Listener Pin
Eddy Vluggen22-Mar-12 6:15
professionalEddy Vluggen22-Mar-12 6:15 
GeneralRe: logging failure using Trace.Listener Pin
Member 842933321-Mar-12 23:13
Member 842933321-Mar-12 23:13 
AnswerRe: logging failure using Trace.Listener Pin
Eddy Vluggen22-Mar-12 6:18
professionalEddy Vluggen22-Mar-12 6:18 
QuestionHow can I Implement Virtual tour with C#? Pin
a.fateme21-Mar-12 1:34
a.fateme21-Mar-12 1:34 
AnswerRe: How can I Implement Virtual tour with C#? Pin
Ravi Bhavnani21-Mar-12 2:29
professionalRavi Bhavnani21-Mar-12 2:29 
GeneralRe: How can I Implement Virtual tour with C#? Pin
a.fateme21-Mar-12 6:40
a.fateme21-Mar-12 6:40 
AnswerRe: How can I Implement Virtual tour with C#? Pin
Ravi Bhavnani21-Mar-12 6:56
professionalRavi Bhavnani21-Mar-12 6:56 
GeneralRe: How can I Implement Virtual tour with C#? Pin
a.fateme21-Mar-12 7:29
a.fateme21-Mar-12 7:29 
GeneralRe: How can I Implement Virtual tour with C#? Pin
Ravi Bhavnani21-Mar-12 7:57
professionalRavi Bhavnani21-Mar-12 7:57 
GeneralRe: How can I Implement Virtual tour with C#? Pin
a.fateme21-Mar-12 8:09
a.fateme21-Mar-12 8:09 
AnswerRe: How can I Implement Virtual tour with C#? Pin
Ravi Bhavnani21-Mar-12 8:15
professionalRavi Bhavnani21-Mar-12 8:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.