Click here to Skip to main content
15,888,803 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Going to create a c++ program that will play instead you on online chess website; know how to code the program to play a correct game, but how to tell the program to read the content on the chess website to handle them ?

What I have tried:

I have not tried yet because I could not find how to do that yet
Posted
Updated 10-Jun-21 0:53am

Read the article A Fully Featured Windows HTTP Wrapper in C++ to understand your first task and to learn about how to access data in web.
You will get some HTML which is text data. You must process it and than run your own code.

You better start with some Learn C++ tutorial before you start such a hugh task.

I found some basic chess implementation. Maybe you may search for some other chess engines or web services.
 
Share this answer
 
v2
Comments
T1xT 10-Jun-21 7:17am    
Well probably you have given the answer I needed to, and I appreciate that.
But guess I know enough of c++ to write the codes that will find proper moves for per step of the game, but again thanks for the guide.
While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for us to do it all for you.

So we need you to do the work, and we will help you when you get stuck. That doesn't mean we will give you a step by step solution you can hand in!
Start by explaining where you are at the moment, and what the next step in the process is. Then tell us what you have tried to get that next step working, and what happened when you did.

If you are having problems getting started at all, then this may help: How to Write Code to Solve a Problem, A Beginner's Guide[^]
 
Share this answer
 
Comments
T1xT 10-Jun-21 7:25am    
So useful lol. No thanks I didn't ask you do all just wanted the hint , read the answers you will find out how to reply these kind of questions.
jeron1 10-Jun-21 10:16am    
A lot more useful than you think, good luck.
It's very unlikely you're going to find an answer to this online. It's too specialized of a problem. It isn't even clear what you want to do. Do you want to read opening lines on an online site so that your program can use them?

If you have no idea where to start with this, you need to acquire more experience before taking on something this challenging.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900