Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: OOP - Not for computer chess?

Author: Matt Taylor

Date: 10:40:37 02/14/03

Go up one level in this thread


On February 14, 2003 at 08:31:22, Dave Gomboc wrote:

>On February 14, 2003 at 03:06:20, Matt Taylor wrote:
>
>>On February 14, 2003 at 01:47:36, Antonio Dieguez wrote:
>>
>>>On February 14, 2003 at 01:00:05, Antonio Dieguez wrote:
>>>
>>>>On February 14, 2003 at 00:06:11, Dann Corbit wrote:
>>>>
>>>>>On February 13, 2003 at 23:46:54, Jeremiah Penery wrote:
>>>>>
>>>>>>On February 13, 2003 at 23:21:57, Dann Corbit wrote:
>>>>>>
>>>>>>>Deep Junior is OOP
>>>>>>
>>>>>>How do you know?
>>>>>
>>>>>Amir has posted that he uses C++ many times.
>>>>
>>>>tss, I do also use C++ but I wouldn't say I use OOP :)
>>>>the only pretty thing I have is the engine class (used by the amyan main class),
>>>
>>>woops, that last is not a class, is just the main.
>>>In Java is where the main must be in a class too(everything must be in a class)
>>>
>>>be well.
>>
>>Unfortunately. I guess they're convinced that the program might decide to run
>>itself without starting another process. I think Math.sin is rediculous.
>>
>>-Matt
>
>Well, how else would you distinguish it from Religion.sin? ;-)
>
>Dave

I guess that might be a problem for an AI programmer who -really- wants to pass
the Turing Test. I would make it a class, personally:

abstract public class Sin
{
    // yadda
}

public class Steal extends Sin
{
    // yadda
}

public class Kill extends Sin
{
    // yadda
}

-Matt



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.