473,396 Members | 1,990 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,396 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 9959
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.