Ludii Forum
questions about Ludii player - Printable Version

+- Ludii Forum (https://ludii.games/forums)
+-- Forum: General (https://ludii.games/forums/forumdisplay.php?fid=1)
+--- Forum: Discussion (https://ludii.games/forums/forumdisplay.php?fid=4)
+--- Thread: questions about Ludii player (/showthread.php?tid=57)



questions about Ludii player - GorillaSapiens - 05-19-2020

Hi.

I'm looking at "Ludii Player" "Ludii General Game System" "Version 0.9.0 (01/05/2020)"

I have some questions...

Question #1:

I tried downloading "Royal Game of Ur.lud" from https://ludii.games/lud/games/Royal%20Game%20of%20Ur.lud and using File // Load Game From File to load it.  I get syntax errors.  I do not understand the errors presented, and could not figure out what was wrong.  Why can't the Ludii Player read this file?  Is there any more programmer friendly way to check for syntax errors in LUD files?

Question #2:

I tried File // Load Game and selected "Royal Game of Ur".  I then clicked Ludeme and copied the code to a text file, and modified the two tracks to read
(track "Track1" "20,3,W,N1,E6,S,E,N,W,S1,W,End" P1 directed:true)
(track "Track2" "21,17,W,S1,E6,N,E,S,W,N1,W,End" P2 directed:true)
I then went to File // Load Game From File and saw two unexpected things happen...

Question #2a:

The "flower" graphics on the replay sites disappeared.  Why?  Is it because they are mentioned only in the LUD file and not in the Ludeme in the player?  How does the player know to draw the flowers?  How do I load a complete LUD file?

Question #2b:

With the modified tracks, View // Show Tracks, the tracks display as I expect them to, but when I actually play the game, the player will not allow me to advance a piece to the left from square F2, and the game cannot be completed.  Why does this happen?

Question #3:

Is there a complete programming manual for the Ludii language?  I have looked at several examples, and it seems there are a large number of undocumented keywords not found in https://ludii.games/downloads/LudiiUserGuide.pdf .  It seems odd to claim this is a "general system" when every game seems to use language keywords unique to that game alone.


RE: questions about Ludii player - cambolbro - 05-19-2020

Hi,

Thanks for trying Ludii and for the feedback!

Q1. The problem is that you are running an older version 0.9.0 but the .lud files on our web site are for the current version 0.9.2. We'll look at updating the version info to show pre-release version.

Q2a. I don't know why the flower symbol didn't show. We can't replicate that problem. Perhaps this is a symptom of loading a 0.9.2 description into Player 0.9.0? 

Q2b. We don't support loops in tracks yet. That's a known issue that we will address.

Q3. The Ludii Language Reference (https://ludii.games/downloads/LudiiLanguageReference.pdf) lists all keywords with definitions and examples.  

Note that the pre-release versions are not quite ready for game authoring yet, they are more for playing and testing at this stage. Version 1.0.0 will have more useful error checking and dedicated game authoring tools.

Regards,
Cameron


RE: questions about Ludii player - GorillaSapiens - 05-19-2020

(05-19-2020, 07:51 AM)cambolbro Wrote: Hi,

Thanks for trying Ludii and for the feedback!

Q1. The problem is that you are running an older version 0.9.0 but the .lud files on our web site are for the current version 0.9.2. We'll look at updating the version info to show pre-release version.

Q2a. I don't know why the flower symbol didn't show. We can't replicate that problem. Perhaps this is a symptom of loading a 0.9.2 description into Player 0.9.0? 

Q2b. We don't support loops in tracks yet. That's a known issue that we will address.

Q3. The Ludii Language Reference (https://ludii.games/downloads/LudiiLanguageReference.pdf) lists all keywords with definitions and examples.  

Note that the pre-release versions are not quite ready for game authoring yet, they are more for playing and testing at this stage. Version 1.0.0 will have more useful error checking and dedicated game authoring tools.

Regards,
Cameron

so i tried downloading the 0.9.2 player and loading the aforementioned "Royal Game of Ur.lud", and still get errors:

Could not expand. Check that bracket pairs '(..)' and '{..}' match.


RE: questions about Ludii player - cambolbro - 05-19-2020

Hi,

That's a bug sorry. You should be able to circumvent it by loading a game from memory first, e.g. launch Ludii and choose File >Load Game > Tic-Tac-Toe is a safe one, then you should be able to load your external .lud files.

This fix will appear in the next pre-release version 0.93 that we will upload this week.

Regards,
Cameron


RE: questions about Ludii player - cambolbro - 05-20-2020

Hello again,

The file loading problem is fixed in version 0.9.3, which has just been uploaded.

Regards,
Cameron


RE: questions about Ludii player - isabellkiral - 08-06-2021

This is very much interesting game and many students play it on daily basis. According to the writers of assignment writing services, they should focus on their studies and play games only in their free hours.