473,668 Members | 2,690 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

2 New Member
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 9988
smalpani
29 New Member
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
Untitled123
2 New Member
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 Recognized Expert Expert
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
2556
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, each player logged in and can then join 'playing rooms', in each rooms they had to answers many quizz-like questions, after a game finished each players involved in it are ranked from their corrects answers and the time they spent to answer....
7
2163
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 submit the form via e-mail and have the complete form with answers sent, not just the data. That is, the recipient should be able to open the attachment and see (and print) the complete, formatted form. It seems to me that solutions simply...
7
2842
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 found a bug that I can't figure out (believe me; I've tried everything and asked for help several times on the IRC-channel). The updateMsg() and iMsg() takes a list of message-lines as argument (or process a string to a list), and it'll output...
2
1556
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 player when it comes to chess. I am that bad! (I tried posting this in general discussion, but no one seemed to know. Plus, I did not specify a link to such a game is what I really want. :D So, I decided to repost it here, under JS as it probably fits...
1
2092
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 for the cards can be found at http://katie.luther.edu/moodle/file.php/2387/cards.zip
5
1945
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 = def __init__ (self, suit=0, rank=1): if suit >= 0 and suit <= 3:
0
1732
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 (this is the a.i. bit) I want to make another character (rival) also attempt to follow and hit a 'prey' object. Then move onto another. Any help with this would be appreciated. Thanks, Martin
1
1846
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, the first chart is to tell you the places and the second id the one to fill (you will see it after compile) and after finishing you have to enter the number -1 to see if you win or lose, here is the code.AND I CAN NOT USE ARRAYS #include<iostream>...
0
1549
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 on making Multiplayer games. Does anyone have a good tutorial? I am looking for something simple that shows how to pass and receive messages from a server application like a chat room or simple game...
0
8462
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8381
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8797
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8583
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8656
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7401
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5681
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4205
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2791
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.