Search found 950 matches

by Roland Chastain
Dec 14, 2011 11:37
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

I am happy to present the short mouse-help I've just finished. Thanks : To TESLACOIL for the idea of use the place where taken pieces are drawn. To TJF for the idea of multilingual help. To BasicCoder2, Richard and fxm for their translations. select case as const aide case 0 case 1 draw string (...
by Roland Chastain
Dec 14, 2011 11:25
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

TESLACOIL wrote:you should make a wiki for your chess program

you can upload all the versions and instructions and screen shots, they are very simple to make


I will think to it. Thanks for the link.
by Roland Chastain
Dec 13, 2011 10:15
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421



Thank you for these links. Let me take some time to peruse them.
by Roland Chastain
Dec 13, 2011 10:07
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

fxm wrote:To move a piece, click on it then click on the target square.


Thanks !
by Roland Chastain
Dec 13, 2011 6:17
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

BasicCoder2 wrote:"To move a piece, click on the piece you wish to move and then click on the square you wish to move it to."


Thanks ! I keep it.
by Roland Chastain
Dec 12, 2011 22:50
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

If the engine works this way it's more dificile, because FreeBasic cannot handle bidirectional pipes (you can either output or input). For cross-platform code have a look at GLib:g_spawn_async_with_pipes Thanks, I will. What about making a multi-lingual GUI? Yes, this is what I decided to do.
by Roland Chastain
Dec 12, 2011 22:39
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

Could anyone traduce for me in english this message :

"Pour déplacer une pièce, cliquez sur la case de départ,
puis sur la case d'arrivée. Appuyez sur une touche..."


Thanks !
by Roland Chastain
Dec 12, 2011 20:07
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

h2>h4 h5 h6 pxp pxr (Queen) Here is the "anti-pawn-promotion defense" I've found : for ij=1 to len(c06(ii))/4' next opponent's moves nc3=nr_caz(mid(c06(ii),1+4*(ij-1),2))' start square nc4=nr_caz(mid(c06(ii),3+4*(ij-1),2)&#...
by Roland Chastain
Dec 12, 2011 17:02
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

on launching the right hand side which is initially empty of pieces can display a list of commands , these commands stay listed until the first piece is captured or on launching you have a splash screen which list commands , press escape or space to start the program Good ideas. I added "Exit=ESC" ...
by Roland Chastain
Dec 12, 2011 8:27
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

let user know on screen 'escape' exits the program I will. i couldn't figure out how to stop the autoplay either You're right, this is also a problem. I will think to it. it also took me a while to figure out how to move the pieces with the mouse Yes, but if I explain it in the "readme", almost nob...
by Roland Chastain
Dec 11, 2011 20:29
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

Re: ESCHECS 0.2

High lighting (...) does teach the legal moves and was a good way to check the legal moves generator was working properly. Yes ! To plug in someone else’s evaluator seems to me to defeat the purpose of writing your own chess program. For me writing the evaluator would be the on going fun brain chal...
by Roland Chastain
Dec 11, 2011 19:57
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

Then the engine calculates the response and outputs it to the console. Here is a link to one of the chess engines I'm working with, if someone wants to have an idea of what it is. Its name is Minimax : http://home.pacific.net.au/~tommyinoz/minimax.zip It's very simple. After I have run the program,...
by Roland Chastain
Dec 11, 2011 19:05
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

I think when the engine gets executed, it gets the data of your move (and maybe some parameters) passed as a command line parameter. Then the engine calculates the response and outputs it to the console. So the code should look like Thank you for your new answer, and for this interesting (to my min...
by Roland Chastain
Dec 11, 2011 19:02
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

:-)
by Roland Chastain
Dec 11, 2011 15:05
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

Lachie Dazdarian wrote:Maybe Garvan can give us inputs on how he did it in his Chess program.


It would be nice. I began to study the use of Open Pipe. With the manual example, I manage to run the engine and read his move but I don't manage to put in my own move except by writing it directly with keyboard.

Go to advanced search