Search found 950 matches

by Roland Chastain
Dec 24, 2011 21:01
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

BasicCoder2 wrote:I have looked at your source code but I have not figured out how it actually works as I am not very good at decoding source code.


It is not easy, indeed.

It's better to compare short pieces, on a given point.
by Roland Chastain
Dec 24, 2011 20:10
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

OK, I have rewritten one sub and forgotten the other.
Too much repetitions in this program ! When you discover an error, you have to look for everywhere !
by Roland Chastain
Dec 24, 2011 19:46
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

;-)
by Roland Chastain
Dec 24, 2011 19:12
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

fxm wrote:I did not find your above modification here


It is strange. I am sure I have replaced the zip file.

I've just downloaded it : I confirm it is the new file. I don't understand what happens.
by Roland Chastain
Dec 24, 2011 18:27
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

@fxm I found ! My error was that I hadn't distinguished two kinds of queen move : when queen moves like a bishop, and when it moves like a rook. It made a confusion in one case (distance=7). Now it is repaired : if dcl=dlg then' if queen moves like a bishop distance=nc2-nc1 pas=9 if abs(distance...
by Roland Chastain
Dec 24, 2011 16:29
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

@fxm Thank you very much for these precise and precious indications. Now I believe I will be able to find what is wrong. (As soon as possible, I have to learn the way you do that. I have seen your explanation but I have not yet studied it.) 6*7=42 +24=66 I believe I begin to understand. I look at th...
by Roland Chastain
Dec 24, 2011 15:15
Forum: Projects
Topic: another Chess project
Replies: 111
Views: 14568

It is a good work that you made ! It works perfectly. And I can, as VANYA wishes, select a piece and immediately select another. I still believe that it isn't a very regular manner to order moves, but I recognize it is handy. Anyway, from a technical point of view, it is very well done.
by Roland Chastain
Dec 24, 2011 14:46
Forum: Projects
Topic: another Chess project
Replies: 111
Views: 14568

What a good new ! I copy it at once. The code looks very nice and simple. Impressive !
Your pieces are beautiful too. I am sure I will learn many things by reading this program. Thanks a lot !
by Roland Chastain
Dec 24, 2011 13:25
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

The Chess Titan that came with my computer works that way. I have implemented it myself with just a few extra lines of code see other thread at line 167. I will look to it ! ;-) because of the castle and en passant moves I broke my head on it during a long time and I just begin to have a clear sigh...
by Roland Chastain
Dec 24, 2011 13:03
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

That behavior occurs also if we click successively on a same empty square or even when we click successively on different empty squares (normally IMHO, at each click, the coordinates of the corresponding pointed square should be always displayed)! Indeed, I did forget the empty squares. I never tri...
by Roland Chastain
Dec 23, 2011 23:59
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

Essentially your code has to recognize the second choice as being one of the current player's pieces and reset that as the FROM square and keep doing that until it is not one of the player's pieces but instead a valid move TO square (or one of the other buttons). That's it. It is not simple ! And I...
by Roland Chastain
Dec 23, 2011 23:45
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

- same remark as previously about the runtime error in mode auto. I looked for the error but didn't find. I can't see what is wrong. I continue to look for. Thanks for your report. - when we click successively on squares, the displayed coordinates ("a1" for example) disappear then reappear at each ...
by Roland Chastain
Dec 23, 2011 23:22
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

1) I identify the figure of a horse 2) I decide to go to the queen You must click three times. Convenient it would be 2 times Thanks for your answer ! That's right, you must click three times. The first is for the piece you wish to move. The second is for the destination square. If you clicked on t...
by Roland Chastain
Dec 23, 2011 14:07
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

@fxm

As you can see, the improvements you suggested to me are done. This is "small improvements" (as you said) but I believe it makes a sensible difference. It looks more "finished". Thanks a lot !
by Roland Chastain
Dec 23, 2011 13:54
Forum: Projects
Topic: Eschecs FreeBASIC (UCI chess GUI)
Replies: 445
Views: 72421

I identify with the mouse shape, and then decide to select another piece. In this selection disappears altogether, although kind of like it would be easier to stand out immediately another figure. Thanks for your try. Sorry, but I'm not sure I really understand what you say. Please could you explai...

Go to advanced search