mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 22:22:26 +01:00
Fixes black matching 0 on the roulette table
This commit is contained in:
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,
|
||||||
|
Loading…
Reference in New Issue
Block a user