By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,084 Members | 1,214 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,084 IT Pros & Developers. It's quick & easy.

Complete Chess Game with just TURBO C++ ! Help!!

P: 2
Hey guys!!

I am Planning on Creating a Computer vs. User Chess game involving Artificial Intelligence... by just using TURBO C++

This is NOT impossible!! Please understand that my seniors achieved this last year and they had hardly a month's time to do it!!

But then i want to do it and develop it better than them!

This is for a school project BTW.

I want a lot of help though!

1. Do i use a 2d ( 8*8 ) array to represent the board??
2. How do i give life to the pieces?
3. I am planning on using Linked lists to create hierarchical trees ( Cuz thats what my seniors used ) and i think there is no other alternative as far as TURBO C++ is concerned.... But then even though i know how to use linked list i don't know how to go about it in the chess program...
4. What kind of variables should i use?? and what are the variables for anyway??
5. I also heard about recursive loops, which i think is essential for a chess game!! But then i don't know anything about it!!
6. I would also need help on the evaluation process where the computer does the evaluation to choose the best move out of all the possible ones... How is it done???
7. Other than all this i would also need very little help in graphics and other stuff in which i represent the game ( The timer, The board, the pieces, The moves which i have to represent like e4 to e5 etc. etc. )


So if anyone has the patience to just give me information on the above mentioned topics and help me with some code snippets and small algorithms, It would be real nice!!

And please help me understand the use of each variable that you will be using in your code snippets if you are helping me!!

Thank you!!

P.S. PLEASE DON'T DISMISS THIS TOPIC BY SAYING WHAT I AM ASKING FOR IS IMPOSSIBLE AND STUFF LIKE THAT. MY SENIORS WERE MY AGE WHEN THEY DID IT. AND THEY TOO HAD ONLY A YEAR AND A HALF EXPERIENCE IN C++ ( SAME AS ME ). ITS IS POSSIBLE AND I THINK I HAVE THE POTENTIAL TO ACHIEVE THIS!! ( WITH THE HELP OF YOU PEOPLE, OF COURSE :) )

Untitled123
Oct 13 '07 #1
Share this Question
Share on Google+
3 Replies


P: 29
Hey guys!!

I am Planning on Creating a Computer vs. User Chess game involving Artificial Intelligence... by just using TURBO C++

This is NOT impossible!! Please understand that my seniors achieved this last year and they had hardly a month's time to do it!!

But then i want to do it and develop it better than them!

This is for a school project BTW.

I want a lot of help though!

1. Do i use a 2d ( 8*8 ) array to represent the board??
2. How do i give life to the pieces?
3. I am planning on using Linked lists to create hierarchical trees ( Cuz thats what my seniors used ) and i think there is no other alternative as far as TURBO C++ is concerned.... But then even though i know how to use linked list i don't know how to go about it in the chess program...
4. What kind of variables should i use?? and what are the variables for anyway??
5. I also heard about recursive loops, which i think is essential for a chess game!! But then i don't know anything about it!!
6. I would also need help on the evaluation process where the computer does the evaluation to choose the best move out of all the possible ones... How is it done???
7. Other than all this i would also need very little help in graphics and other stuff in which i represent the game ( The timer, The board, the pieces, The moves which i have to represent like e4 to e5 etc. etc. )


So if anyone has the patience to just give me information on the above mentioned topics and help me with some code snippets and small algorithms, It would be real nice!!

And please help me understand the use of each variable that you will be using in your code snippets if you are helping me!!

Thank you!!

P.S. PLEASE DON'T DISMISS THIS TOPIC BY SAYING WHAT I AM ASKING FOR IS IMPOSSIBLE AND STUFF LIKE THAT. MY SENIORS WERE MY AGE WHEN THEY DID IT. AND THEY TOO HAD ONLY A YEAR AND A HALF EXPERIENCE IN C++ ( SAME AS ME ). ITS IS POSSIBLE AND I THINK I HAVE THE POTENTIAL TO ACHIEVE THIS!! ( WITH THE HELP OF YOU PEOPLE, OF COURSE :) )

Untitled123

Ha ha ha ha, you sound like

Please make a chess program for me.

Jokes apart, it takes more discipline than attitude to create such a program.
I would greatly discourage using TURBO C. but you seem to have decided.


WHATEVER THE design decisions your seniors have taken, if thats how they achieved it great, you can do the same its already proved.

You will have to post your efforts to get any output from others.
Oct 13 '07 #2

P: 2
ummm.. look we are forced to use TURBO C++ ....

and thats the project! . to create a chess game from the most ancient program...
Oct 13 '07 #3

pbmods
Expert 5K+
P: 5,821
Heya, Untitled. Welcome to TSDN!

Sounds like fun. How far have you gotten?
Oct 14 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.