{"id":16010903,"url":"https://github.com/ethomson/blackjack","last_synced_at":"2025-03-17T20:14:59.426Z","repository":{"id":149438252,"uuid":"2581956","full_name":"ethomson/Blackjack","owner":"ethomson","description":null,"archived":false,"fork":false,"pushed_at":"2017-10-31T11:15:34.000Z","size":96,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T07:11:31.904Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ethomson.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-10-15T14:06:06.000Z","updated_at":"2023-01-29T14:40:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"48aaec7b-b48b-42d7-aab0-7a6203304433","html_url":"https://github.com/ethomson/Blackjack","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethomson%2FBlackjack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethomson%2FBlackjack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethomson%2FBlackjack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethomson%2FBlackjack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ethomson","download_url":"https://codeload.github.com/ethomson/Blackjack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244102855,"owners_count":20398386,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-08T13:22:10.134Z","updated_at":"2025-03-17T20:14:59.408Z","avatar_url":"https://github.com/ethomson.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"Blackjack Simulation Program\nCopyright (c) 2004, Ed Thomson \u003cethomson@edwardthomson.com\u003e\nDistributed under the GNU General Public License, see COPYING.\n\nDescription:\nThis is a very basic console-based blackjack simulation program.  The game\nof blackjack is described at http://wizardofodds.com/games/blackjack.\nThe deal style is \"American Blackjack\" - after a round of betting, the\ndeal goes around the table such that players and dealer receive two cards.\nThe player cards are dealt face-up, the dealer receives one card face up\nand one card face down.  Surrender is not allowed.\n\nTo play interactively, just run the program, eg:\n  ./blackjack\n\nTo play the program to analyze a specific playing strategy, run:\n  ./blackjack \u003cstrategyname\u003e\n\n  Currently implemented strategies are:\n\tbasic - \"basic\" strategy - http://wizardsofodds.com/games/blackjack\n\tcardcount - Simple Tens Counting Strategy - simple card counting\n\t\t\t\thttp://www.allaboutblackjack.com/cardcounting.html\n\tdealer - always hit until soft 17\n\tinteractive - displays cards, prompts for play on the console\n\n  When using a non-interactive strategy, the software will dump a\n  total of statistics every 25,000 hands.  (It will display a win\n  percentage for every possible initial player hand / dealer hand,\n  as well as the current bankroll.)  An 80x40 line terminal is\n  recommended.\n\nStandard Vegas Blackjack rules apply, as:\n- A 6 deck shoe is used for dealing cards.\n- The object is to have a higher score than the dealer - each face card \n  (Jack, Queen, King) is worth 10, each Ace is worth 1 or 11, whichever\n  most benefits the hand.\n- Splitting Aces results in exactly one card per hand.\n- Double after split is allowed.\n- Blackjack on deal (a deal of 21 points -- Ace + face card or 10) pays\n  the player 3:2.\n- Insurance pays 2:1 and must be exactly 1/2 the players original bet.\n\nCompilation:\nGNU make is required.  Type 'make' in this directory to compile.\nAn executable named 'blackjack' will be created.\n\nPlatforms:\nTested under:  Windows XP Pro, VisualStudio.NET 2003\n               Windows 2000, VisualStudio 6.0\n               Linux 2.4.25, glibc 2.2.5, g++ 2.95\n\nIt is presumed to work under any unix platform with g++ and should work\nunder any standards-compliant C++ platform with minimal changes.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethomson%2Fblackjack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fethomson%2Fblackjack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethomson%2Fblackjack/lists"}