Vector Poker Hand



  1. Poker Hand Vector Art
  2. Vector Poker Cards
Size of this PNG preview of this SVG file: 196 × 600 pixels. Other resolutions: 78 × 240 pixels | 157 × 480 pixels | 251 × 768 pixels | 334 × 1,024 pixels | 340 × 1,040 pixels.

View top-quality illustrations of Poker Hand. Find premium, high-resolution illustrative art at Getty Images. Poker chip Clipart Free download! View 71 Poker chip illustration, images and graphics from +50,000 possibilities. You may also like 100 poker chip or chip poker clipart!

Original file ‎(SVG file, nominally 340 × 1,040 pixels, file size: 234 KB)

Structured data

Captions

Add a one-line explanation of what this file represents

Captions

Description
Date (UTC)
SourceOwn work (Original text: I (sissyneck (talk)) created this work entirely by myself.)
Authorsissyneck (talk)
Other versionsDerivative works of this file: Poker-Hands hr.svg

Licensing[edit]

Sissyneck at English Wikipedia, the copyright holder of this work, hereby publishes it under the following license:
Hands

This file is licensed under the Creative CommonsAttribution-Share Alike 3.0 Unported license.
Attribution: Sissyneck at English Wikipedia
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Original upload log[edit]

Transferred from en.wikipedia to Commons by Sissyneck.

The original description page was here. All following user names refer to en.wikipedia.
  • 2010-12-20 19:47 Sissyneck 340×1040× (239463 bytes) Used font Arial and got rid of recurring path details, file got smaller. ~~~~
  • 2010-12-14 23:46 Sissyneck 340×1000× (651977 bytes) {{Information |Description = Vector version of 'Poker-Hands.png' |Source = I (~~~) created this work entirely by myself. |Date = ~~~~~ |Author = ~~~ |other_versions = }}

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current20:03, 20 December 2010340 × 1,040 (234 KB)Sissyneck(talk | contribs){{Information |Description={{en|Vector version of 'Poker-Hands.png'}} |Source=Transferred from [http://en.wikipedia.org en.wikipedia]; transfer was stated to be made by User:Sissyneck.<br/> (Original text : 'I (sissyneck ([[:en

File usage on Commons

The following 2 pages use this file:

File usage on other wikis

The following other wikis use this file:

  • Usage on bs.wikipedia.org
  • Usage on cs.wikipedia.org
  • Usage on ja.wikipedia.org
  • Usage on nl.wikipedia.org
  • Usage on ro.wikipedia.org

Metadata

Poker Hand Vector Art

Structured data

'}},'text/plain':{'en':{':'copyright status'}}},'{'value':{'entity-type':'item','numeric-id':50423863,'id':'Q50423863'},'type':'wikibase-entityid'}':{'text/html':{'en':{'P6216':'copyrighted</a>'}},'text/plain':{'en':{'P6216':'copyrighted'}}}}'>
'}},'text/plain':{'en':{':'copyright license'}}},'{'value':{'entity-type':'item','numeric-id':14946043,'id':'Q14946043'},'type':'wikibase-entityid'}':{'text/html':{'en':{'P275':'Creative Commons Attribution-ShareAlike 3.0 Unported</a>'}},'text/plain':{'en':{'P275':'Creative Commons Attribution-ShareAlike 3.0 Unported'}}}}'>

Vector Poker Cards

'}},'text/plain':{'en':{':'source of file'}}},'{'value':{'entity-type':'item','numeric-id':66458942,'id':'Q66458942'},'type':'wikibase-entityid'}':{'text/html':{'en':{'P7482':'original creation by uploader</a>'}},'text/plain':{'en':{'P7482':'original creation by uploader'}}}}'>
Retrieved from 'https://commons.wikimedia.org/w/index.php?title=File:Poker-Hands.svg&oldid=442879492'
Vector poker cards

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 ordered.

The hand matrix expected is an mxn list of m hands with n cards. The cards are numbered from 1 to 52. Suit doesn't matter for ranking. Order of the cards in the input vector does not matter. Numbering starts with the Ace at position 1. Here is a suggested card assignment:

A | K | Q | J | 10| 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | Suit
-------------------------------------------------------------
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10| 11| 12| 13| Spades
14| 15| 16| 17| 18| 19| 20| 21| 22| 23| 24| 25| 26| Hearts
27| 28| 29| 30| 31| 32| 33| 34| 35| 36| 37| 38| 39| Clubs
40| 41| 42| 43| 44| 45| 46| 47| 48| 49| 50| 51| 52| Diamonds

Example call to the function:
trick = [33,3,43,1,25,4,19;
6,36,20,10,35,21,38;
45,31,51,40,37,22,26;
28,49,46,32,17,16,39];
[ranks,descriptions,usedcards,unusedcards] = rankp(trick,2);