473,395 Members | 1,577 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

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

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
3 9957
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
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
5,821 Expert 4TB
Heya, Untitled. Welcome to TSDN!

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

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

Similar topics

5
by: Tlo | last post by:
hello, i would like to do the following, and as i had never used python in a network framework i would like to have opinions on this : i would like to provide some kind of network quizz game,...
7
by: GeorgeAtkins | last post by:
I want to create a web-based form or page that consists of a series of formatted questions and answers. The form will resemble an existing paper form. When the form is filled in, I want the user to...
7
by: Gasten | last post by:
Hello. The last weeks I've been coding a roguelike (you know, like nethack) in python using the nCurses library. Some week ago I ran into a problem: When I made the object for messagebar-output, I...
2
tpgames
by: tpgames | last post by:
I would like to know of a link to source code thats free for the taking, of an intelligent JS chess game? The one on my site is too easy because I can almost beat it. I'm considered the suicide...
1
by: blinkrebel | last post by:
Hello I need some help implementing the game of blackjack using the xturtle package. the instructions can be found at http://katie.luther.edu/moodle/file.php/2387/BlackJack.pdf and .gif's...
5
by: codie | last post by:
I got my code to work be the print out go's down on a angle is there anyway to stop this from happing. P.S sorry for taking up your time class Card: suitList = rankList = ...
0
by: Martin84 | last post by:
Hi, im trying to create a game in flash where a user character (predator) has to move towards objects on the screen (prey) and make them disappear when touched (this part works fine). Next however...
1
by: inferi9 | last post by:
hi, I am writing the Sudoku game code and it is just from 1 to 3 (NOT to 9 like the ususal one) when i did right it give me the win message but when i did it wrong it also give me the win message,...
0
by: ShadowPhantom000 | last post by:
I Am a Just recently Graduated High school student who took a Java class in school, and created a couple of simple network games... and am now learning c# but I Cant seem to find any good tutorials...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.