Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1class YakuAnalyzer: 

2 def get_safe_tiles_34(self): 

3 return [] 

4 

5 def get_bonus_danger(self, tile_136, number_of_revealed_tiles): 

6 return [] 

7 

8 def get_tempai_probability_modifier(self): 

9 return 1 

10 

11 def is_absorbed(self, possible_yaku, tile_34=None): 

12 return False 

13 

14 def _is_absorbed_by(self, possible_yaku, id, tile_34): 

15 absorbing_yaku_possible = [x for x in possible_yaku if x.id == id] 

16 if absorbing_yaku_possible: 

17 analyzer = absorbing_yaku_possible[0] 

18 if tile_34 is None: 

19 return True 

20 

21 if not (tile_34 in analyzer.get_safe_tiles_34()): 

22 return True 

23 

24 return False