Relationship between GUI and logic?

RPM1 rpm9deleteme at earthlink.net
Thu May 22 23:54:07 EDT 2008


John Salerno wrote:
> 
> Basically, the question is this: can you write the logic behind a 
> program (whether it be a game, an email client, a text editor, etc.) 
> without having any idea of how you will implement the GUI?

Chess already has at least two solutions that are in widespread use:

Winboard
UCI (Universal Chess Interface)

Basically you write your chess "engine" to speak either Winboard or UCI 
and then you can "run" it in one of the various GUI interfaces, (such as 
Shredder, Fritz, Arena, ...).

See:
http://www.playwitharena.com/

or the comparatively young:
http://pychess.googlepages.com/        (which is written in Python)


Patrick



More information about the Python-list mailing list