3 ms·
https://ludii.games/lud/games/Lielow.lud https://ludii.games/lud/games/Lielow.lud deciphered with https://ludii.games/downloads/LudiiGameLogicGuide.pdf https://
by skulk 4y ago
https://ludii.games/lud/games/Lielow.lud https://ludii.games/lud/games/Lielow.lud deciphered with https://ludii.games/downloads/LudiiGameLogicGuide.pdf https://ludii.games/downloads/LudiiGameLogicGuide.pdf
(equipment {
(board (square 10))
(piece "Disc" Each)
})
The board is 10x10
(start {
(place "Disc1"
(difference
(difference
(expand (sites Bottom) steps:2)
(expand (sites Bottom) steps:1)
)
(sites Outer)
)
)
(place "Disc2"
(difference
(difference
(expand (sites Top) steps:2)
(expand (sites Top) steps:1)
)
(sites Outer)
)
)
})
One row of pieces on the top, and one row of pieces on the bottom (?). I wonder if parametric definition (like a list comprehension) would be clearer... Interesting approach nevertheless.
- shagie 4y agoThe 10x10 aspect of it appears to be because there's an invisible outer ring of "if your piece moves here, it is removed from the game" which wouldn't be possible with an 8x8 board that doesn't have an "outside". If you play the game, you'll see an 8x8 board.
- empty-theory 4y agoI wrote that .lud-file. There are 3 known issues with it: (1) The identity of a player's king is only updated after their own turn, not after each player's turn. (2) It is not always possible to suicide a stack that has the proper reach, because it might overshoot the mark (my code requires it to land exactly 1 step outside the board). (3) Suicided pieces are not removed if the resulting state has no uniquely talles stack of the current player's color. All of these issues are fixed in a new .lud-file written by someone else. (I usually write my own, but this is the second time the same guy has come to my rescue.)