Ludii Forum
Textual Actions in Ludii Interface - Printable Version

+- Ludii Forum (https://ludii.games/forums)
+-- Forum: Suggestions (https://ludii.games/forums/forumdisplay.php?fid=10)
+--- Forum: Ludii Features / Services (https://ludii.games/forums/forumdisplay.php?fid=11)
+--- Thread: Textual Actions in Ludii Interface (/showthread.php?tid=549)



Textual Actions in Ludii Interface - Quentin Cohen-Solal - 04-22-2021

Hello,

It would be very handy to be able to textually enter a move, especially for the Computer Olympiad. For example, a text box with a "go" button to apply the action written in theĀ . It would be nice to have this feature, at least for moving games and posing games.
It would also be convenient to be able to directly enter a move list so that it is applied sequentially.

Thank you so much.


RE: Textual Actions in Ludii Interface - Eric Piette - 05-03-2021

Hi Quentin,

For this feature, is it something you would like to have to enter a move returned by an AI in the trial format in order to play for it?

Regards,
Eric


RE: Textual Actions in Ludii Interface - Quentin Cohen-Solal - 05-03-2021

The most practical would be that the move is entered in the turn format, or better yet that it accepts the turn format and the trial format.


RE: Textual Actions in Ludii Interface - Eric Piette - 05-06-2021

Hi,

Matthew added a menu under remote called: "Select Move from String".
All the format should be recognise (trial format, move format, turn format and the toString() method of our moves).

That will be in the next release.

Regards,
Eric


RE: Textual Actions in Ludii Interface - Quentin Cohen-Solal - 05-06-2021

Thank you so much.


RE: Textual Actions in Ludii Interface - Quentin Cohen-Solal - 08-13-2021

Hello,

Would it be possible to add a keyboard shortcut to the "Select Move from String" function?

It would also be very useful if this function could accept moves in a partial string format. Let me explain. For example, to make a movement from case A7 to B6, the move in string format maybe for example "A7-B6 []". But it can be different. It seems rather tedious and unclear to know the exact syntax in advance (unless to be a Ludii expert). So, it would be convenient if just entering "A7-B6" was enough to make the move. The idea would therefore be that the interface searches among the possible moves if one of them has the grabbed move as substring and, if it is found, the move is played. This of course assumes that there are no other moves containing this substring. In this particular case, it would then be desirable for the various possibilities of interpretation to be displayed on the screen in order to aid in the correct entry of the move.

Thanks a lot.


RE: Textual Actions in Ludii Interface - MatthewStephenson - 08-17-2021

Hi Quentin,

Yes I should be able to add both those features for the next release.

Cheers,
Matthew


RE: Textual Actions in Ludii Interface - Quentin Cohen-Solal - 08-19-2021

Thank you for these additions in the latest version.

On the other hand, it would be more practical for the actions to be displayed in the "turn" format (ie A1-B3) rather than the other format (ie TypeFrom = Cell ...) when it propose that we choose among the possible interpretations after have input our action in a string format.

Thank you.


RE: Textual Actions in Ludii Interface - MatthewStephenson - 08-19-2021

Hi Quentin,

In the next version of Ludii, you will be able to change this format using the Move Format option in the advanced preferences tab.

Cheers,
Matthew