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 13:09

>>11
Keep trying. Then arm xboard/winboard with your shinny brans new AI and play pit it against real players and real ai at freechess.org. Or chessclub if you are faggot

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