Games::Cards::Bridge::Contract

Bridge (card game) contract and scoring class
Download

Games::Cards::Bridge::Contract Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • David Westbrook
  • Publisher web site:
  • http://search.cpan.org/~davidrw/

Games::Cards::Bridge::Contract Tags


Games::Cards::Bridge::Contract Description

Bridge (card game) contract and scoring class Games::Cards::Bridge::Contract is a bridge (card game) contract and scoring class.SYNOPSISThis module provides a class for creating Bridge contract objects, including the results and both duplicate and rubber scoring.This is example is for the contract of 4S by North, not vulnerable, redoubled, and taking 11 tricks. my $contract = Games::Cards::Bridge::Contract->new( declarer=>'N', trump=>'S', bid=>4, made=>5, vul=>0, penalty=>2); my $pts = $contract->duplicate_score; my ( $declarer_above_line, $declarer_below_line, $defense_above_line ) = $contract->rubber_score; Requirements: · Perl


Games::Cards::Bridge::Contract Related Software