Fixes black matching 0 on the roulette table

This commit is contained in:
jamie-mac 2022-01-21 21:28:25 +00:00
parent 60c354622d
commit 8963842276

@ -40,13 +40,13 @@ const strategies: {
} = { } = {
Red: { Red: {
match: (n: number): boolean => { match: (n: number): boolean => {
if (n === 0) return false;
return redNumbers.includes(n); return redNumbers.includes(n);
}, },
payout: 1, payout: 1,
}, },
Black: { Black: {
match: (n: number): boolean => { match: (n: number): boolean => {
if (n === 0) return false;
return !redNumbers.includes(n); return !redNumbers.includes(n);
}, },
payout: 1, payout: 1,