Support Advanced early cache bid promises
Verify and publish checkpoint container / container (push) Successful in 11m48s
Verify and publish checkpoint container / container (push) Successful in 11m48s
This commit is contained in:
1 parent
1a65e69932
commit
225b2174ad
14 files changed
+1071
-22
No files matched your search
@@ -1,4 +1,12 @@
|
||||
import type { RicheseBidPromise } from './richese-bid-promises';
|
||||
import { bidPromiseModeSupported } from './bid-promises';
|
||||
|
||||
/** Early cache questions support the existing Basic profile and the bare
|
||||
* Advanced CHOAM deck. Other Advanced module/semuta profiles stay separate. */
|
||||
export function earlyRicheseBidModeSupported(game: Parameters<typeof bidPromiseModeSupported>[0]): boolean {
|
||||
return !game.kullPreview && bidPromiseModeSupported({...game,semutaPreview:undefined}) &&
|
||||
(!game.advanced || !game.semutaPreview && game.expansions.length === 1 && game.expansions[0] === 'choam');
|
||||
}
|
||||
|
||||
/** A single bid in the first actual cache auction of this turn, before its
|
||||
* card, method, direction and public event have been chosen. */
|
||||
|
||||
Reference in new issue
Block a user