Welcome to Dream.In.Code
Become a C++ Expert!

Join 149,918 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 2,076 people online right now. Registration is fast and FREE... Join Now!




Chess Game Application

 
Reply to this topicStart new topic

Chess Game Application

sotiris920
5 Jan, 2008 - 11:09 AM
Post #1

New D.I.C Head
*

Joined: 5 Jan, 2008
Posts: 1

i want to make o programme using visual studio which 1)will read a chessbord2)shows then the chessboard on the screen3)shows then the possible moves that a single piece can do3)shows then the possible moves that every piece on the chessboard can do

a-h
1-8
B=black,W=white
P=pawn
R=roork
B=bishop
K=knight
Q=queen
K=king

User is offlineProfile CardPM
+Quote Post

PennyBoki
RE: Chess Game Application
5 Jan, 2008 - 11:36 AM
Post #2

system("revolution");
Group Icon

Joined: 11 Dec, 2006
Posts: 2,011



Thanked: 7 times
Dream Kudos: 500
Expert In: Java,C++,C

My Contributions
Hi and welcome. There are rules in this forum and I suggest you read them. We cannot provide help unless the member has shown effort.

So have you made an attempt to solve the problem you have or you expect us to solve it for you?

User is offlineProfile CardPM
+Quote Post

Jingle
RE: Chess Game Application
5 Jan, 2008 - 12:26 PM
Post #3

D.I.C Regular
***

Joined: 20 Oct, 2007
Posts: 250


My Contributions
cool good idea i am working on something similar right now
Great Minds think alike.
good luck!!!
User is offlineProfile CardPM
+Quote Post

Tom9729
RE: Chess Game Application
5 Jan, 2008 - 01:41 PM
Post #4

Debian guru
Group Icon

Joined: 30 Dec, 2007
Posts: 1,589



Thanked: 12 times
Dream Kudos: 325
My Contributions
Which language do you plan to use, and how experienced in it are you?

What you're proposing is actually pretty complex...
User is online!Profile CardPM
+Quote Post

Jingle
RE: Chess Game Application
5 Jan, 2008 - 01:46 PM
Post #5

D.I.C Regular
***

Joined: 20 Oct, 2007
Posts: 250


My Contributions
QUOTE(Tom9729 @ 5 Jan, 2008 - 02:41 PM) *

Which language do you plan to use, and how experienced in it are you?

What you're proposing is actually pretty complex...

probily c or c++ since he posted it in the c++ forum

and ya it can be farly complex!!!
User is offlineProfile CardPM
+Quote Post

Martyr2
RE: Chess Game Application
5 Jan, 2008 - 02:23 PM
Post #6

Programming Theoretician
Group Icon

Joined: 18 Apr, 2007
Posts: 5,655



Thanked: 313 times
Expert In: C/C++, Java, VB, VB.NET, C#, PHP, Web Development, HTML & CSS, Javascript

My Contributions
This task is quite a bit of complexity for someone new to the language of choice. First I would pick the language you want to use, read up on the ideas of classes, multidimensional arrays (2D arrays), and looping for start. After you get a board setup going, check out polymorphism for the method "move()"

Here is a great tip for starting out, create a base class called "piece" and then from that inherit into each piece type. Each classes will have functions for moving but those details will be hidden behind the move method.

I implemented such a game as part of a course requirement long ago and it turned out pretty nice.

Good luck and be VERY VERY patient. smile.gif
User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 1/8/09 02:35PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month