X-Git-Url: https://git.auder.net/img/rock_paper_scissors_lizard_spock.gif?a=blobdiff_plain;f=base_rules.js;h=6078da86ccfa5e84730fe851c3ad947c0a665c4a;hb=5c1c7bcec764d94b0469ab4d7d0777ce67e05ae3;hp=c0d9b60622b163464e3d2a6442b0b700c12d97c4;hpb=b98feb3f6bb7e03319474f7a032e296750eb179f;p=xogo.git diff --git a/base_rules.js b/base_rules.js index c0d9b60..6078da8 100644 --- a/base_rules.js +++ b/base_rules.js @@ -233,9 +233,9 @@ export default class ChessRules { ['r', 'n', 'b', 'q', 'k', 'b', 'n', 'r'], { randomness: this.options["randomness"], - between: {p1: 'k', p2: 'r'}, + between: [{p1: 'k', p2: 'r'}], diffCol: ['b'], - flags: ['r'] + flags: ['r', 'k'] } ); return {