Prédateur 0.1.3b2

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

User avatar
JuLieN
Posts: 2949
Joined: Mon May 05, 2008 12:16 pm
Location: Bordeaux (France)
Full name: Julien Marcel

Re: Prédateur 0.1.3b2

Post by JuLieN »

hgm wrote:Why by 8? You expect your engine only to survive 8 moves? :shock:
Haha, think again :)

For exemple, with 300 seconds left :
Move 1 : 300/8 = 37 seconds
Move 2 : (300-37=263)/8 = 32 seconds
Move 3 : (263-32=231)/8 = 28 seconds
Move 4 : (231-28=203)/8 = 25 seconds
Move 5 : (203-25=178)/8 = 22 seconds
Move 6 : (178-22=156)/8 = 19 seconds
Move 7 : (156-19=137)/8 = 17 seconds
Move 8 : (137-17=120)/8 = 15 seconds
Move 9 : (120-15=105)/8 = 13 seconds
and so on....

Actually, the program will have more time than that, as it never use the maximal amount of time allowed : at each ply fully searched, it computes how many time it used for it and estimates how much it would take to search a new ply. If the result exceeds the time allowed, it will just stop searching. Most of the time, it will just use a sixth of the time allowed (it's actually related to the alpha beta branch pruning factor).

Yes, I know it's not a very efficient algorithm, but I focused on the chess algorithms instead. The day the engine will start to play well, I'll put more thinking in those algorithms.

And... even with plenty of time left anyway, Pred might not survive its 8th move. :wink:
"The only good bug is a dead bug." (Don Dailey)
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
User avatar
JuLieN
Posts: 2949
Joined: Mon May 05, 2008 12:16 pm
Location: Bordeaux (France)
Full name: Julien Marcel

Re: Prédateur 0.1.3b2

Post by JuLieN »

@Roman & Matthias

Thanks. :) Actually, as I just detailed above, it's never 8, but instead closer to 8x6 = 48, as it dynamically decide at each ply if it should continue searching or not.

A perfect time attribution algorithm would be one wich makes a quick analyze of the position's complexity : simple positions would get slightly less time than more complexe ones. But such an algorithm would be an approximation anyway.

Oh, and when Pred has more time than its opponents, the algorithm adds half of the difference.

EDIT- I just took a look at my code and found out why Pred plays illegal move when it has no time : as I substract 200 milliseconds to the allowed time, it might become a negative number in the end of the game when there's a time pressure. So Pred just just don't even start searching and gives Arena an empty string as its moves coordinates... I should remove this substraction and increase the division.
"The only good bug is a dead bug." (Don Dailey)
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
User avatar
Matthias Gemuh
Posts: 3245
Joined: Thu Mar 09, 2006 9:10 am

Re: Prédateur 0.1.3b2

Post by Matthias Gemuh »

JuLieN wrote:@Roman & Matthias

Thanks. :) Actually, as I just detailed above, it's never 8, but instead closer to 8x6 = 48, as it dynamically decide at each ply if it should continue searching or not.

A perfect time attribution algorithm would be one wich makes a quick analyze of the position's complexity : simple positions would get slightly less time than more complexe ones. But such an algorithm would be an approximation anyway.

Oh, and when Pred has more time than its opponents, the algorithm adds half of the difference.

EDIT- I just took a look at my code and found out why Pred plays illegal move when it has no time : as I substract 200 milliseconds to the allowed time, it might become a negative number in the end of the game when there's a time pressure. So Pred just just don't even start searching and gives Arena an empty string as its moves coordinates... I should remove this substraction and increase the division.


Subtract first, then divide.


Matthias.
My engine was quite strong till I added knowledge to it.
http://www.chess.hylogic.de
User avatar
JuLieN
Posts: 2949
Joined: Mon May 05, 2008 12:16 pm
Location: Bordeaux (France)
Full name: Julien Marcel

Re: Prédateur 0.1.3b2

Post by JuLieN »

Just thought I'd let you get a sneak preview to the work-in-progress Pred 0.1.4... :P

Image
"The only good bug is a dead bug." (Don Dailey)
[Blog: http://tinyurl.com/predateur ] [Facebook: http://tinyurl.com/fbpredateur ] [MacEngines: http://tinyurl.com/macengines ]
User avatar
beachknight
Posts: 3533
Joined: Tue Jan 09, 2007 8:33 pm
Location: Antalya, Turkey

Re: Prédateur 0.1.3b2

Post by beachknight »

Where are you, Tony?

We need some pressure from you
to be able to get this newest version.

Come on.

Best,
hi, merhaba, hallo HT
Tony Thomas

Re: Prédateur 0.1.3b2

Post by Tony Thomas »

beachknight wrote:Where are you, Tony?

We need some pressure from you
to be able to get this newest version.

Come on.

Best,
I was hanging out with goat all day. She complained that I ignored her during campaigning..The results look very nice indeed, it would put Predateur in the 1700-1800 range, no longer an easy target for us puny humans, we must gang up with alien to destroy Predateur. Must use the my enemies enemy is my friend logic..

Imaginary friend/ friendship with aliens regards
Tony

I just found a better person to gang up with, none other than stewie himself and his molecular disintegrator ray..Bring it on predator Scum..I mean, can we get it Please???
Image
swami
Posts: 6647
Joined: Thu Mar 09, 2006 4:21 am

Re: Prédateur 0.1.3b2

Post by swami »

JuLieN wrote:Just thought I'd let you get a sneak preview to the work-in-progress Pred 0.1.4... :P

Image
Great. Good performance for a start.

Can you tell me how did you post this picture?

from arena html files?
Tony Thomas

Re: Prédateur 0.1.3b2

Post by Tony Thomas »

I see an engine named EIRE on the list? What engine is it? I have never heard of it, if my memory serves me right...I am loney, I need some predateur love..You want proof?? I am so lonley without a new version of predateur that I start chatting with Chessthinker X..

Code: Select all

ChessThinkerX(C) tells you: [ThinkerTalk] you're not really talking about me,
\   are you?
.yes I am
(ChessThinkerX(C) tells you: [ThinkerTalk] how long have you been ?
.your english is bad
ChessThinkerX(C) tells you: [ThinkerTalk] what about your own english is bad?
.my English is perfecto
ChessThinkerX(C) tells you: [ThinkerTalk] hmm...
.hmm
ChessThinkerX(C) tells you: [ThinkerTalk] say, do you have any issues you want  to talk about?
.Yes, I left my underwear in your mothers room yesterday
ChessThinkerX(C) tells you: [ThinkerTalk] why are you concerned about my mothers room yesterday?
.can you bring it back to my house
ChessThinkerX(C) tells you: [ThinkerTalk] perhaps you would like to be able to bring it back to your house?
.you mean your mom?
ChessThinkerX(C) tells you: [ThinkerTalk] hmm, mean my mom??
.I am not saying that your mother is mean you stupid program, I am just saying she is hot
ChessThinkerX(C) tells you: [ThinkerTalk] did you come to me because you are not saying that my mother is mean i stupid program, i are just saying she is hot?
User avatar
pedrox
Posts: 1056
Joined: Fri Mar 10, 2006 6:07 am
Location: Basque Country (Spain)

Re: Prédateur 0.1.3b2

Post by pedrox »

Tony Thomas wrote:I see an engine named EIRE on the list? What engine is it? I have never heard of it, if my memory serves me right...I am loney, I need some predateur love..You want proof?? I am so lonley without a new version of predateur that I start chatting with Chessthinker X..

Code: Select all

ChessThinkerX(C) tells you: [ThinkerTalk] you're not really talking about me,
\   are you?
.yes I am
(ChessThinkerX(C) tells you: [ThinkerTalk] how long have you been ?
.your english is bad
ChessThinkerX(C) tells you: [ThinkerTalk] what about your own english is bad?
.my English is perfecto
ChessThinkerX(C) tells you: [ThinkerTalk] hmm...
.hmm
ChessThinkerX(C) tells you: [ThinkerTalk] say, do you have any issues you want  to talk about?
.Yes, I left my underwear in your mothers room yesterday
ChessThinkerX(C) tells you: [ThinkerTalk] why are you concerned about my mothers room yesterday?
.can you bring it back to my house
ChessThinkerX(C) tells you: [ThinkerTalk] perhaps you would like to be able to bring it back to your house?
.you mean your mom?
ChessThinkerX(C) tells you: [ThinkerTalk] hmm, mean my mom??
.I am not saying that your mother is mean you stupid program, I am just saying she is hot
ChessThinkerX(C) tells you: [ThinkerTalk] did you come to me because you are not saying that my mother is mean i stupid program, i are just saying she is hot?
That is the name that initially put my program, in the village where I live there is a tavern is called Eire and in the tavern is played in a tournament chess. I thought about trying to build the engine and playing the tournament.

Shortly after I had a girlfriend romanian named Daniela and I decided to change the name by DanaSah, Dana of Daniela and Sah chess in romanian.

Eire 2004 = 1500 ELO

Pedro
User avatar
pedrox
Posts: 1056
Joined: Fri Mar 10, 2006 6:07 am
Location: Basque Country (Spain)

Re: Prédateur 0.1.3b2

Post by pedrox »

swami wrote:
JuLieN wrote:Just thought I'd let you get a sneak preview to the work-in-progress Pred 0.1.4... :P

Image
Great. Good performance for a start.

Can you tell me how did you post this picture?

from arena html files?
Swami, if you quote the text makes for Julien, you can see that refers to an image jpg , perhaps taken with a program of capture and that is on your server.

Pedro