05-24-2020, 08:59 PM
Looking through
https://ludii.games/downloads/LudiiLangu...erence.pdf
I'm finding that a lot of functions are not well documented.
For example...
"drawSymbol" first parameter "Name of Symbol to draw".
What symbols names are allowed? Where are the images stored? How would I add a new one?
"track" second parameter int or string.
How is an integer interpreted? How is a string interpreted? Looking at a track from "The Royal Game of Ur" i was able to infer some things.
"20,3,W,N1,E,S1,W,End"
What do the "20,3" mean here? I infer NEWS are cardinal directions, and a number means a number of squares.
This should all be in the Language Reference.
Are other strings accepted? Can I use grid squares somehow, like "D1,A1,A2,H2,H1,G1,End"? (seems like there would be conflicts, e.g. would "E1" be "square E1" or "east 1 square"?)
https://ludii.games/downloads/LudiiLangu...erence.pdf
I'm finding that a lot of functions are not well documented.
For example...
"drawSymbol" first parameter "Name of Symbol to draw".
What symbols names are allowed? Where are the images stored? How would I add a new one?
"track" second parameter int or string.
How is an integer interpreted? How is a string interpreted? Looking at a track from "The Royal Game of Ur" i was able to infer some things.
"20,3,W,N1,E,S1,W,End"
What do the "20,3" mean here? I infer NEWS are cardinal directions, and a number means a number of squares.
This should all be in the Language Reference.
Are other strings accepted? Can I use grid squares somehow, like "D1,A1,A2,H2,H1,G1,End"? (seems like there would be conflicts, e.g. would "E1" be "square E1" or "east 1 square"?)