Click here to Skip to main content
15,890,579 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to generate only 0's and 1's for given times.... Pin
spalanivel14-Jul-09 0:03
spalanivel14-Jul-09 0:03 
AnswerRe: how to generate only 0's and 1's for given times.... Pin
Luc Pattyn14-Jul-09 1:18
sitebuilderLuc Pattyn14-Jul-09 1:18 
GeneralRe: how to generate only 0's and 1's for given times.... Pin
benjymous14-Jul-09 1:44
benjymous14-Jul-09 1:44 
GeneralRe: how to generate only 0's and 1's for given times.... Pin
Luc Pattyn14-Jul-09 1:48
sitebuilderLuc Pattyn14-Jul-09 1:48 
QuestionChessprogram Pin
nerosdk7113-Jul-09 23:13
nerosdk7113-Jul-09 23:13 
AnswerRe: Chessprogram Pin
Manas Bhardwaj13-Jul-09 23:19
professionalManas Bhardwaj13-Jul-09 23:19 
AnswerRe: Chessprogram Pin
Blue_Boy13-Jul-09 23:19
Blue_Boy13-Jul-09 23:19 
AnswerRe: Chessprogram Pin
Luc Pattyn14-Jul-09 1:35
sitebuilderLuc Pattyn14-Jul-09 1:35 
Hi,

a chess program that plays a mediocre game and has any chance at ever beating someone is a major undertaking, my rough estimate would be some 25 thousand lines of code.

If you are rather new to programming, if you are rather new to the language you intend on using, or if your largest program sofar is smaller than some 5000 lines of code, I strongly recommend you to reconsider, and first do something less ambitious.

You might want to solve the 8-queens problem first: how to put 8 queens on a chess board in such a way they can;t capture each other. That one can easily be solved in 500 lines of code.

The next challenge should be a program that solves "mate in 2" problems; that one requires full impementation of the rules of chess, and already needs some attention to performance concerns.

When you have finished a sufficient number of such smaller tasks, you may or may not be ready to create a true chess game.

FYI: the GUI of a chess game is less than 1% of the effort; there are many available freely on the web.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

Questionneed help. Pin
mjawadkhatri13-Jul-09 21:48
mjawadkhatri13-Jul-09 21:48 
AnswerRe: need help. Pin
Nagy Vilmos13-Jul-09 21:54
professionalNagy Vilmos13-Jul-09 21:54 
AnswerRe: need help. Pin
Tom Deketelaere13-Jul-09 22:01
professionalTom Deketelaere13-Jul-09 22:01 
GeneralRe: need help. Pin
mjawadkhatri13-Jul-09 22:12
mjawadkhatri13-Jul-09 22:12 
GeneralRe: need help. Pin
Thomas Krojer13-Jul-09 22:17
Thomas Krojer13-Jul-09 22:17 
GeneralRe: need help. Pin
Tom Deketelaere13-Jul-09 22:22
professionalTom Deketelaere13-Jul-09 22:22 
AnswerRe: need help. Pin
Manas Bhardwaj13-Jul-09 22:49
professionalManas Bhardwaj13-Jul-09 22:49 
QuestionSearch PDF for text Pin
Ajay Dalvi13-Jul-09 21:48
Ajay Dalvi13-Jul-09 21:48 
AnswerRe: Search PDF for text Pin
Nagy Vilmos13-Jul-09 22:00
professionalNagy Vilmos13-Jul-09 22:00 
GeneralRe: Search PDF for text Pin
Manas Bhardwaj13-Jul-09 22:34
professionalManas Bhardwaj13-Jul-09 22:34 
GeneralRe: Search PDF for text Pin
Luc Pattyn14-Jul-09 1:38
sitebuilderLuc Pattyn14-Jul-09 1:38 
AnswerRe: Search PDF for text Pin
Manas Bhardwaj13-Jul-09 22:35
professionalManas Bhardwaj13-Jul-09 22:35 
QuestionHow to date lock for a setup build in VS2008 professional edition? Pin
svt gdwl13-Jul-09 21:35
svt gdwl13-Jul-09 21:35 
AnswerRe: How to date lock for a setup build in VS2008 professional edition? Pin
Manas Bhardwaj13-Jul-09 22:37
professionalManas Bhardwaj13-Jul-09 22:37 
QuestionCurved Form Pin
satsumatable13-Jul-09 21:29
satsumatable13-Jul-09 21:29 
AnswerRe: Curved Form Pin
Henry Minute14-Jul-09 0:08
Henry Minute14-Jul-09 0:08 
Questionprocess.startinfo Pin
arkiboys13-Jul-09 20:19
arkiboys13-Jul-09 20:19 

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.