Check out Symmetric Chess, our featured variant for March, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

Apothecary Chess-Modern. Large Board variant obtained trough tinkering with known games.[All Comments] [Add Comment or Rating]
🕸Fergus Duniho wrote on Wed, Sep 2, 2020 01:51 PM UTC in reply to Aurelian Florea from 04:51 AM:

When I tried looking into it, it gave me the error "ILLEGAL: N i2-h4 on turn 3". Random setups make it harder to test and debug code, and I generally do not recommend them. In this case, your log has constant values for coin1 and coin2, but your backup does not. So, you began this game before you started using constants to store your random values. Since the only values for coin1 and coin2 should be 0 or 1, I tried all four combinations. They were initially set to 1 and 1, which gave the error "ILLEGAL: Q e2-h5 on turn 5", but all other combinations gave the error "ILLEGAL: N i2-h4 on turn 3".

Looking at your code, I see you are using "drop any". This introduces an additional random element that is not stored in any constant. So, there are more than just four possible initial positions. If you are going to use "drop any", then what you should store in your constants is the position of the pieces.