05-19-2020, 06:11 AM
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.
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.