Moderator: Andres Valverde
H.G.Muller wrote:When you first start WinBoard with an engine it will be in Machine Black mode. You get there by pressing New Game (if there is an engine).
H.G.Muller wrote:What is the problem with simply clicking Machine White or Machine Black to leave Edit Game mode? Both of these would switch Edit Game mode off. So the feature you request already exists. Twice!
Why should there be yet a third menu item that would bring you from Edit Game to Machine White/Black?
Another reason is that it seems you want me to cater to buggy programs. You have an engine that does wrong things, and now you want me to modify the GUI to elevate this wrong behavior to a standard. As a matter of principle I am gainst such erosion of standards.
F.Huber wrote:H.G.Muller wrote:What is the problem with simply clicking Machine White or Machine Black to leave Edit Game mode? Both of these would switch Edit Game mode off. So the feature you request already exists. Twice!
No, the feature does NOT exist!
I'm talking about a situation where it is my turn to move. If I enter the 'Edit' mode and would leave it with 'Machine White (or Black)', then the engine makes the next move, so this has the effect of swichting the sides - that's not what I want.
Sorry, but that's nonsense. These 25-35 year old chess computers (or programs), which are emulated in CB-Emu, are not buggy at all -
they just don't have all features of modern PC chess programs, and of course they didn't 'know' anything about WB or UCI protocols.
But I see, you just don't (or don't want to) understand what I mean (and which small change I want), so I'll stop this discussion here now ...
H.G.Muller wrote:Why don't you simply fix the adapter, rather than trying to get complex work-arounds in WinBoard? After receiving the 'force' command is should just warn you that it accepts single moves only, ...
F.Huber wrote:H.G.Muller wrote:Why don't you simply fix the adapter, rather than trying to get complex work-arounds in WinBoard? After receiving the 'force' command is should just warn you that it accepts single moves only, ...
Well, you can be sure that I've already tried many different methods to solve the problem in the adapter, but nothing works.
If the adapter receives the 'force', it's already too late, because then WinBoard is already in the 'Edit' mode.
F.Huber wrote:For point 1) the adapter could of course avoid sending this move to the engine, but WinBoard is still waiting for a move from the engine (before it leaves the 'Edit' mode again), so where should this countermove come from???
If the adapter would send the user move to the engine, then the engine would respond, but there's no way to take back these 2 moves again, because the engines I'm talking about usually also don't support taking back moves.
And if the adapter would not send the user move, but tell the engine to switch the sides, then the returned engine move would be for the wrong side and WinBoard would not accept this move (apart from what you already assumed, that those old engines also often don't support switching the sides).
Ok, I'll try it a last time with a concrete example:
The user (White) is playing a game against such an old engine (Black) that does NOT support 'Edit mode', 'Change Sides' and 'Take Back Move'!
The user starts with 1.e2e4 and the engine responds with 1...c7c5, so White (the user) has the next move.
That's now the situation where the user wants to enter a few moves manually to force a special variant of the Sizilian opening.
Thus he clicks on 'Edit Game' in WinBoard, and WinBoard switches to 'Edit' mode and immediately sends the command 'force' to the adapter.
The adapter receives this 'force' command and simply informs the user with an error message, that the "Engine does not support editing", but it does NOT send anything to the engine at this moment!
Now the user has the choice between 2 possible actions:
1) he can immediately use 'Machine White' (because it's white's turn): now WinBoard sends a 'go' to the adapter and waits for a white move from the engine, and WinBoard does NOT leave the 'Edit' mode until it has received such a white move!
What should the adapter do in this situation?
2) the user could FIRST enter an own move (e.g. 2.g1f3), and THEN click 'Machine Back': in this case WinBoard sends 'usermove g1f3' and then 'go'!
Ok, now the adapter can act in 2 ways:
a) if (as you suggest again and again) it does NOT send this 'usermove g1f3' to the engine, it MUST send at least the 'go' to the engine, because else it won't have any move to send back to WinBoard (but WinBoard is waiting for a move!).
But that's the same situation as described above in point 1) - the engine is asked for the next move directly after it has made it's last move (2...c7c5), because the user's move (3.g1f3) has NOT been sent to the engine, so again the engine returns the same error ("it's not my turn!").
b) but if the adapter WOULD send 'usermove g1f3', then "GAME OVER": no matter what the adapter (or WinBoard) would do afterwards - the engine excutes the move g1f3 and calculates and returns it's countermove, and there's NO WAY to get back to the old position (or situation) again, because the engine has no 'Take Back Move' feature!
H.G.Muller wrote:The quoted text above is just pure nonsense. WinBoard is not waiting for any move from the engine in Edit Game mode. That is the whole point of Edit Game mode; the engine is supposed to be silent, as instructed by the 'force' command. So WinBoard is waiting for the user to either enter another move (which in this case would not be acceptable), or for the user to use the menu, e.g. to switch to Machine White/Black. That would result in sending 'go' to the adapter, and only after that WinBoard would expect a 'countermove'.
Not GAME OVER, but GAME CONTINUES. Why would you want to take those moves back? Because you don't like how the engine replied to g1f3?
Return to Winboard and related Topics
Users browsing this forum: No registered users and 7 guests