Search
New Code
WooCommerce Product Customizations 1.0
Apartment Rental Software 1.0.3
Verj.io 1.1
Order ODBC Driver for MySQL 2.3
Custom Shoe Design Software 1.0
Open source Traveloka Clone 2.0.1
Codecademy / Skillshare / Class-Central Clone Script 1.0
AnyChart JS Charts and Dashboards 8.2.0
GetOrgChart 2.4.8
Output Messenger 1.8.0
ODBC Driver for SQLite 2.3
Devart ODBC Driver for Oracle 2.3
PHPScriptsmall 1.0
Easy Button & Menu Maker 5.2
PHP Business Directory Script 1
Top Code
Output Messenger 1.8.0
Aliexpress Clone- Ec21 Script 1
Indiegogo Clone 3.0
PHP Image Resize Script 1.0
Best Spotify Clone 1.0
Get Random Record Based on Weight 1.0.0
Travel Portal Script 9.29
Magento Product Designer 1.0
OFOS - Just Eat Clone Script 1.0
PrestaShop Upload Images Module 1.2.1
Trading Software 1.2.4
Deals and Discounts Website Script 1.0.2
Readymade MLM Products 2.01
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Code Listing by Rob Slazas

Code 1-2 of 2   






A function that evaluates poker hands and returns a numerical rank and text description for each. The list of cards used to make the best possible hand is returned in 'usedcards'. If handsize is smaller than the length of hands given, then the cards not used in the best possible hand are returned in 'unusedcards'. Rank of 1 is best (Royal Flush), higher numbers are worse. Rank values are not contiguous across all hands, but are correctly...



Function that places a 2D matrix B into a larger 2D matrix A. The upper-left corner of B is placed at coordinates (r,c) in A. If (r,c) are not given, then B is put in the upper-left corner of A, a default of (1,1). Some error checking is done...