@@ -7,7 +7,7 @@ import { determine_focus, getRealConnects, rankLooksPlayable, unknown_1 } from '
7
7
import { find_focus_possible } from './focus-possible.js' ;
8
8
import { IllegalInterpretation , find_own_finesses } from './own-finesses.js' ;
9
9
import { assign_all_connections , inference_rank , find_symmetric_connections , generate_symmetric_connections , occams_razor , connection_score } from './connection-helper.js' ;
10
- import { variantRegexes } from '../../../variants.js' ;
10
+ import { variantRegexes , shortForms } from '../../../variants.js' ;
11
11
import { remove_finesse } from '../update-wcs.js' ;
12
12
import { order_1s } from '../action-helper.js' ;
13
13
import { find_impossible_conn } from '../update-turn.js' ;
@@ -687,7 +687,7 @@ export function interpret_clue(game, action) {
687
687
team_elim ( game ) ;
688
688
return game ;
689
689
}
690
- logger . info ( 'trash push!' ) ;
690
+ logger . info ( 'trash pushing card' , shortForms [ state . deck [ order_pushed ] . suitIndex ] + state . deck [ order_pushed ] . rank ) ;
691
691
// mark all cards as trash
692
692
for ( const order of list ) {
693
693
if ( ! state . deck [ order ] . newly_clued )
@@ -757,7 +757,8 @@ export function interpret_clue(game, action) {
757
757
}
758
758
}
759
759
}
760
- additional_possibilities . push ( new BasicCard ( state . deck [ order_pushed ] . suitIndex , state . deck [ order_pushed ] . rank ) ) ;
760
+ if ( giver !== game . me . playerIndex )
761
+ additional_possibilities . push ( new BasicCard ( state . deck [ order_pushed ] . suitIndex , state . deck [ order_pushed ] . rank ) )
761
762
const new_inferred = possible . intersect ( possible . filter ( i => state . isPlayable ( i ) ||
762
763
additional_possibilities . some ( x => {
763
764
return x . suitIndex === i . suitIndex && x . rank === i . rank ;
0 commit comments