{"id":207,"date":"2026-02-20T20:35:38","date_gmt":"2026-02-20T20:35:38","guid":{"rendered":"https:\/\/theroyalscode.com\/students\/g_cruz\/?p=207"},"modified":"2026-02-20T20:35:38","modified_gmt":"2026-02-20T20:35:38","slug":"gambling-cont","status":"publish","type":"post","link":"https:\/\/theroyalscode.com\/students\/g_cruz\/2026\/02\/20\/gambling-cont\/","title":{"rendered":"Gambling (cont.)"},"content":{"rendered":"\n<p>I have returned to working on the roulette program and, albeit not a lot was done, progress has been made:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>    print(f\"Current total: {yourMoney}\")\n    betAmount = int(input(\"Bet amount: \"))\n    betType = str(input(\"Pick a bet type (S)ingle\/(G)roup: \"))\n    betList = &#91;]\n\n    #Give Bet type\n    if \"g\" in betType.lower():\n        betType = \"group\"\n    else: \n        betType = \"single\"\n\n    if betType.lower() == \"single\":\n        betList.append(str(input(\"Between 000, 00, 0, and up to 36, what do you bet on? \")))<\/code><\/pre>\n\n\n\n<p>To start, &#8220;betType&#8221; is the focus, getting an input of either a grouped bet or, otherwise, a singular bet<\/p>\n\n\n\n<p>The if&#8230;else Just changes the input to either &#8220;group&#8221; or &#8220;single&#8221; for the bet type<\/p>\n\n\n\n<p>What is planned with the last line is to allow another decision on which slot on the board to pick for the bet<\/p>\n\n\n\n<p>What will follow is the selection of premade groups.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have returned to working on the roulette program and, albeit not a lot was done, progress has been made: To start, &#8220;betType&#8221; is the focus, getting an input of either a grouped bet or, otherwise, a singular bet The if&#8230;else Just changes the input to either &#8220;group&#8221; or &#8220;single&#8221; for the bet type What [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-207","post","type-post","status-publish","format-standard","hentry","category-progress"],"_links":{"self":[{"href":"https:\/\/theroyalscode.com\/students\/g_cruz\/wp-json\/wp\/v2\/posts\/207","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theroyalscode.com\/students\/g_cruz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theroyalscode.com\/students\/g_cruz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/g_cruz\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/g_cruz\/wp-json\/wp\/v2\/comments?post=207"}],"version-history":[{"count":1,"href":"https:\/\/theroyalscode.com\/students\/g_cruz\/wp-json\/wp\/v2\/posts\/207\/revisions"}],"predecessor-version":[{"id":208,"href":"https:\/\/theroyalscode.com\/students\/g_cruz\/wp-json\/wp\/v2\/posts\/207\/revisions\/208"}],"wp:attachment":[{"href":"https:\/\/theroyalscode.com\/students\/g_cruz\/wp-json\/wp\/v2\/media?parent=207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/g_cruz\/wp-json\/wp\/v2\/categories?post=207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/g_cruz\/wp-json\/wp\/v2\/tags?post=207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}