Ludii Forum
Error in Dama (Italy)! - Printable Version

+- Ludii Forum (https://ludii.games/forums)
+-- Forum: Problems (https://ludii.games/forums/forumdisplay.php?fid=5)
+--- Forum: Game Problems (https://ludii.games/forums/forumdisplay.php?fid=17)
+--- Thread: Error in Dama (Italy)! (/showthread.php?tid=672)



Error in Dama (Italy)! - fbarbe - 08-14-2021

Hi,

Today I showed Ludii to my Italian grandfather, and he started playing a game of Italian Dama.

We soon both realized that there is a major error in the implementation: as written in the rules, "Kings (or Dame, in Italian) cannot be captured by regular pieces."
I have attached a trial where the last move is a regular piece capturing a King. This completely changes the strategy and gameplay.

Best,
Fabio

The error is in "HopMan"
Code:
if:(and (is Enemy (who at:(between))) (!= (what at:(last To)) (id "DoubleCounter" Next)))


should be

Code:
if:(and (is Enemy (who at:(between))) (!= (what at:(between)) (id "DoubleCounter" Next)))

I have attached a corrected version of the code.

Best,
Fabio


RE: Error in Dama (Italy)! - Eric Piette - 08-18-2021

Hi,

Thanks for that :) That's always cool to have someone testing the games to find small incorrectness in the rules of some DLP games :)
Will be fixed in the next release.

Regards,
Eric