Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Creating a Chess AI. Is this bad programming?

Name: Anonymous 2010-11-12 11:08

Creating the human interface.

So I need to know when the user finally clicks somewhere to move a piece.

So the GUI class has this interface that detects mouse clicks and I just made the snippet executed at every click point to an array in the main program (pointer initiated in constructor) and change coordinates. Then I have a very small snippet in main program that loops until a change in coordinates is made.

Is the bad/good programming?

And different suggestions?

Name: Anonymous 2010-11-12 12:37

>>5
Why, when we could demonstrate the error of your thread to the ages?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List