-
-
26 Jan 2004 01:11:04 UTC
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (420 / 0 / 0)
- Kwalitee
Bus factor: 0- 59.56% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (5.82KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Algorithm::GenerateSequence
- Algorithm::Numerical::Shuffle
- Log::Log4perl
- Quantum::Superpositions
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
Changes for version 0.04
- Fixed what was suspected to be a bug in Quantum::Superpositions, but was indeed a bug in Games::Blackjack, as Damian Conway pointed out: To access eigenstates in nested superpositions, they need to be flattened out. So if $count = any(any(2,12),any(12,22)) then $count <= 21 will return both nested superpositions, any(2,12) and any(12,22), resulting in any(2,12,22) for the superposition's eigenstates. Instead, $count = any(map {eigenstates $_} any(2,12), any(12,22)) will flatten out the eigenstates and have $count <= 21 return any(2,12), as expected.
Modules
Blackjack Utility ClassesProvides
in lib/Games/Blackjack.pmin lib/Games/Blackjack.pmExamples
Other files
Module Install Instructions
To install Games::Blackjack, copy and paste the appropriate command in to your terminal.
cpanm Games::Blackjack
perl -MCPAN -e shell install Games::Blackjack
For more information on module installation, please visit the detailed CPAN module installation guide.