
Scan hub setting
-
- Posts: 1368
- Joined: Thu Jun 20, 2013 17:16
- Real name: Krzysztof Grzelak
Re: Scan hub setting
I find this way to be the best because you see the board and how the program works.
-
- Posts: 299
- Joined: Tue Jul 07, 2015 07:48
- Real name: Fabien Letouzey
Re: Scan hub setting
I use the mouse, and a single click is enough for most moves. I wrote Hub specifically for tournaments.Krzysztof Grzelak wrote:Thank you for all the help Fabien. I wonder if the tournament moves you enter manually or using the mouse. I think using the cmd command to use the program is much better.
I never got used to draughts notation, so I would be too afraid to make mistakes with the command line (I have a bad memory about this from long ago). Also, it's not easy to check that the position is correct.
-
- Posts: 299
- Joined: Tue Jul 07, 2015 07:48
- Real name: Fabien Letouzey
Re: Scan hub setting
Yes. What you see is two programs talking to each other, using a protocol as a language. If something went wrong, that's where I would find out what happened.Sidiki wrote:The command mode worked for me. It's funny to see what happening during the game into the command.
-
- Posts: 1368
- Joined: Thu Jun 20, 2013 17:16
- Real name: Krzysztof Grzelak
Re: Scan hub setting
Thank you for your answer Fabien. This question came to my mind. What to do - what command to use to make the program immediately after the start of the game played white.
-
- Posts: 299
- Joined: Tue Jul 07, 2015 07:48
- Real name: Fabien Letouzey
Re: Scan hub setting
G (go)Krzysztof Grzelak wrote:Thank you for your answer Fabien. This question came to my mind. What to do - what command to use to make the program immediately after the start of the game played white.
Don't forget to wait for "Ready" first, otherwise your command will be ignored.
-
- Posts: 1368
- Joined: Thu Jun 20, 2013 17:16
- Real name: Krzysztof Grzelak
Re: Scan hub setting
Fabien Letouzey wrote:G (go)
Don't forget to wait for "Ready" first, otherwise your command will be ignored.
Thank you Fabien.
-
- Posts: 1368
- Joined: Thu Jun 20, 2013 17:16
- Real name: Krzysztof Grzelak
Re: Scan hub setting
During the tournament came to mind my question. Whether there is a possibility in order in the program to emphasize the time on entire parties without the quantity of movements to the party.
Re: Scan hub setting
Hi Krzysztof.Krzysztof Grzelak wrote:During the tournament came to mind my question. Whether there is a possibility in order in the program to emphasize the time on entire parties without the quantity of movements to the party.
Put the time you want.
Even if the number of moves it's reached, Scan will continue to play.
But it will manage to play the number of moves you input depending of the time you put.
Sidiki
-
- Posts: 1368
- Joined: Thu Jun 20, 2013 17:16
- Real name: Krzysztof Grzelak
Re: Scan hub setting
Thank you for your answer Sidiki. I know that. I deleted the game-moves = 75 entry from the file Hub. The program starts but an error has occurred. I conclude that this file always has to be.Sidiki wrote: Hi Krzysztof.
Put the time you want.
Even if the number of moves it's reached, Scan will continue to play.
But it will manage to play the number of moves you input depending of the time you put.
Sidiki
-
- Posts: 299
- Joined: Tue Jul 07, 2015 07:48
- Real name: Fabien Letouzey
Re: Scan hub setting
Hi Sidiki,
The problem here is that the game can last much longer than what Krzysztof wants.
Fabien.
I don't know the official name for this kind of time control: x moves in y minutes (often written x/y). The way I implemented it is "repeating": after every group of x moves, y minutes are added to the clocks. This is common in chess, with x = 40 moves.Sidiki wrote:Put the time you want.
Even if the number of moves it's reached, Scan will continue to play.
But it will manage to play the number of moves you input depending of the time you put.
The problem here is that the game can last much longer than what Krzysztof wants.
Fabien.
-
- Posts: 299
- Joined: Tue Jul 07, 2015 07:48
- Real name: Fabien Letouzey
Re: Scan hub setting
Hi Krzysztof,
You can interpret 0 to mean infinity in this case.
What you tried makes sense. Maybe I'll modify the code later so that it also works.
Fabien.
The solution is game-moves = 0Krzysztof Grzelak wrote:Thank you for your answer Sidiki. I know that. I deleted the game-moves = 75 entry from the file Hub. The program starts but an error has occurred. I conclude that this file always has to be.
You can interpret 0 to mean infinity in this case.
What you tried makes sense. Maybe I'll modify the code later so that it also works.
Fabien.
-
- Posts: 1368
- Joined: Thu Jun 20, 2013 17:16
- Real name: Krzysztof Grzelak
Re: Scan hub setting
I would like to once again test the Scan against people in different tournaments. Because this is the best test for every program - man. For now it seems impossible.
-
- Posts: 1368
- Joined: Thu Jun 20, 2013 17:16
- Real name: Krzysztof Grzelak
Re: Scan hub setting
Fabien have a request if you can correct (modify) the code to play on time for example 30 minutes on all moves.Fabien Letouzey wrote: The solution is game-moves = 0
You can interpret 0 to mean infinity in this case.
What you tried makes sense. Maybe I'll modify the code later so that it also works.
Fabien.
-
- Posts: 299
- Joined: Tue Jul 07, 2015 07:48
- Real name: Fabien Letouzey
Re: Scan hub setting
I don't need to; you just use this:Krzysztof Grzelak wrote:Fabien have a request if you can correct (modify) the code to play on time for example 30 minutes on all moves.
Code: Select all
game-moves = 0
game-time = 30
game-inc = 0
-
- Posts: 1368
- Joined: Thu Jun 20, 2013 17:16
- Real name: Krzysztof Grzelak
Re: Scan hub setting
Thank you for your answer Fabien. I have a request even though I know you wrote about it. Can you do the function DXP in Scan hub.