Class: Tundengine::Declarations::LasCuarenta
- Includes:
- Singleton
- Defined in:
- lib/tundengine/declarations/las_cuarenta.rb
Constant Summary collapse
- ROUND_POINTS =
40
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#finishes_round?, #has_tute_effect?, #initialize
Methods included from Move
#self_or_yield, #yield_self_or_lock!
Methods included from StringifiableByClass
Constructor Details
This class inherits a constructor from Tundengine::Declarations::Base
Instance Method Details
#is_declarable?(hand, trump_suit) ⇒ Boolean
9 10 11 |
# File 'lib/tundengine/declarations/las_cuarenta.rb', line 9 def is_declarable?(hand, trump_suit) hand.has_knight_and_king_of?(trump_suit) end |