{"id":87,"date":"2020-04-13T14:58:01","date_gmt":"2020-04-13T14:58:01","guid":{"rendered":"https:\/\/sites.ps.uci.edu\/mathceo\/?page_id=87"},"modified":"2020-05-16T22:23:58","modified_gmt":"2020-05-16T22:23:58","slug":"meeting-1-coding-a-deck-of-cards","status":"publish","type":"page","link":"https:\/\/sites.ps.uci.edu\/mathceo-old\/meeting-1\/meeting-1-coding-a-deck-of-cards\/","title":{"rendered":"Coding a Deck of Cards"},"content":{"rendered":"\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<p style=\"font-size:23.25px\" class=\"has-text-color has-background has-text-align-left has-primary-color has-subtle-background-background-color wp-block-paragraph\">A deck of cards has 4 suits: clubs (\u2663), diamonds (<span class=\"has-inline-color has-accent-color\">\u2666<\/span>), hearts (<span class=\"has-inline-color has-accent-color\">\u2665<\/span>), and spades (\u2660).<\/p>\n\n\n\n<p style=\"font-size:22px\" class=\"has-text-color has-background has-text-align-left has-primary-color has-subtle-background-background-color wp-block-paragraph\">Each suit has 13 ranks: A, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, J, Q, K<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p style=\"font-size:23px\" class=\"has-text-color has-background has-text-align-center has-primary-color has-subtle-background-background-color wp-block-paragraph\"><span class=\"has-inline-color has-accent-color\">How many cards are there in total?<\/span><\/p>\n<\/div><\/div>\n\n\n\n<!--nextpage-->\n\n\n\n<p class=\"has-text-color has-background has-text-align-center has-primary-color has-background-background-color wp-block-paragraph\"> We can give a code word to each rank and suit. For example, below is one from the <a rel=\"noreferrer noopener\" href=\"https:\/\/youtu.be\/HUjj5puJ6zE\" target=\"_blank\">Penn &amp; Teller<\/a> video.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"762\" height=\"405\" src=\"https:\/\/sites.ps.uci.edu\/mathceo\/wp-content\/uploads\/sites\/18\/2020\/04\/Penn-Teller-Poker-Codes.png\" alt=\"\" class=\"wp-image-90\" srcset=\"https:\/\/sites.ps.uci.edu\/mathceo-old\/wp-content\/uploads\/sites\/18\/2020\/04\/Penn-Teller-Poker-Codes.png 762w, https:\/\/sites.ps.uci.edu\/mathceo-old\/wp-content\/uploads\/sites\/18\/2020\/04\/Penn-Teller-Poker-Codes-300x159.png 300w\" sizes=\"auto, (max-width: 762px) 100vw, 762px\" \/><figcaption>So for 8<span class=\"has-inline-color has-accent-color\">\u2665<\/span>, Penn would say &#8220;<strong>V<\/strong>ISUALIZE an open space and <strong>HAVE<\/strong> a card in your mind&#8221;.  <\/figcaption><\/figure>\n\n\n\n<p class=\"has-text-align-left wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" width=\"813\" height=\"754\" class=\"wp-image-118\" style=\"width: 120px\" src=\"https:\/\/sites.ps.uci.edu\/mathceo\/wp-content\/uploads\/sites\/18\/2020\/04\/Google-Sheet-1.png\" alt=\"\" srcset=\"https:\/\/sites.ps.uci.edu\/mathceo-old\/wp-content\/uploads\/sites\/18\/2020\/04\/Google-Sheet-1.png 813w, https:\/\/sites.ps.uci.edu\/mathceo-old\/wp-content\/uploads\/sites\/18\/2020\/04\/Google-Sheet-1-300x278.png 300w, https:\/\/sites.ps.uci.edu\/mathceo-old\/wp-content\/uploads\/sites\/18\/2020\/04\/Google-Sheet-1-768x712.png 768w\" sizes=\"auto, (max-width: 813px) 100vw, 813px\" \/>  Let&#8217;s create our own codes for a deck of cards on a <a rel=\"noreferrer noopener\" href=\"https:\/\/drive.google.com\/open?id=1qxSnEuH1oFoFF2SenciwnkjRLfLjbNW7\" target=\"_blank\">Google spreadsheet<\/a>. This gives you a way to <strong><em>mentally<\/em><\/strong> guess a card without &#8220;looking&#8221;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A deck of cards has 4 suits: clubs (\u2663), diamonds (\u2666), hearts (\u2665), and spades (\u2660). Each suit has 13 ranks: A, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, J, Q, K How many cards are there in total?<\/p>\n","protected":false},"author":16,"featured_media":0,"parent":26,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_vp_format_video_url":"","_vp_image_focal_point":[],"footnotes":""},"class_list":["post-87","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/sites.ps.uci.edu\/mathceo-old\/wp-json\/wp\/v2\/pages\/87","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.ps.uci.edu\/mathceo-old\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.ps.uci.edu\/mathceo-old\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.ps.uci.edu\/mathceo-old\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.ps.uci.edu\/mathceo-old\/wp-json\/wp\/v2\/comments?post=87"}],"version-history":[{"count":10,"href":"https:\/\/sites.ps.uci.edu\/mathceo-old\/wp-json\/wp\/v2\/pages\/87\/revisions"}],"predecessor-version":[{"id":173,"href":"https:\/\/sites.ps.uci.edu\/mathceo-old\/wp-json\/wp\/v2\/pages\/87\/revisions\/173"}],"up":[{"embeddable":true,"href":"https:\/\/sites.ps.uci.edu\/mathceo-old\/wp-json\/wp\/v2\/pages\/26"}],"wp:attachment":[{"href":"https:\/\/sites.ps.uci.edu\/mathceo-old\/wp-json\/wp\/v2\/media?parent=87"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}