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-13 14:15

>>12

It finished already dude. Will be pitting it against some GNU AI later this week. In the mean time it seems to be working well. AI wise it beats me but I'm a shitty careless player so yeah.

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