{"id":16261042,"url":"https://github.com/ineshbose/blackjack_cpp","last_synced_at":"2025-03-19T22:30:32.073Z","repository":{"id":48502905,"uuid":"240996786","full_name":"ineshbose/Blackjack_CPP","owner":"ineshbose","description":"A terminal-version of BLACKJACK written in C++","archived":false,"fork":false,"pushed_at":"2020-06-02T16:12:41.000Z","size":67254,"stargazers_count":25,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T11:11:26.593Z","etag":null,"topics":["blackjack","card-game","cpp","game"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ineshbose.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-17T01:35:43.000Z","updated_at":"2024-11-23T05:21:44.000Z","dependencies_parsed_at":"2022-09-05T00:52:15.931Z","dependency_job_id":null,"html_url":"https://github.com/ineshbose/Blackjack_CPP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ineshbose%2FBlackjack_CPP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ineshbose%2FBlackjack_CPP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ineshbose%2FBlackjack_CPP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ineshbose%2FBlackjack_CPP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ineshbose","download_url":"https://codeload.github.com/ineshbose/Blackjack_CPP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244515585,"owners_count":20464915,"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":["blackjack","card-game","cpp","game"],"created_at":"2024-10-10T16:40:20.905Z","updated_at":"2025-03-19T22:30:31.179Z","avatar_url":"https://github.com/ineshbose.png","language":"C++","readme":"# ♠️ Blackjack (C++)\n[![AppVeyor](https://img.shields.io/appveyor/build/ineshbose/blackjack-cpp?label=AppVeyor\u0026style=flat-square\u0026logo=appveyor)](https://ci.appveyor.com/project/ineshbose/blackjack-cpp)\n[![Travis (.org)](https://img.shields.io/travis/ineshbose/blackjack_cpp?label=Travis\u0026style=flat-square\u0026logo=travis-ci)](https://travis-ci.org/github/ineshbose/blackjack_cpp)\n[![Codacy grade](https://img.shields.io/codacy/grade/760d6c817b324726898e79ded9aa807e?style=flat-square\u0026logo=codacy)](https://app.codacy.com/manual/ineshbose/Blackjack_CPP)\n[![GitHub](https://img.shields.io/github/license/ineshbose/Blackjack_CPP?style=flat-square)](LICENSE)\n[![Run on Repl.it](https://img.shields.io/badge/run_on_repl.it--lightgrey?style=flat-square\u0026logo=repl.it)](https://repl.it/github/ineshbose/blackjack_cpp)\n\nDeveloped in order to repolish my C++ skills and as my first C++ repository. Have had many memories playing blackjack while being drunk with flatmates during the first year of uni.\n\n\u003cimg alt=\"Blackjack Demo\" style=\"display: block; margin-left: auto; margin-right: auto; width: fit-content;\" src=\"data/demo.gif\" /\u003e\n\n\n## 🔧 Setup\n\n### Cloning\nYou should have [Git](https://git-scm.com/) installed and use the following commands in your terminal in your preferred directory\n```sh\n$ git clone https://github.com/ineshbose/Blackjack_CPP\n$ cd Blackjack_CPP\n```\nelse you can download a [ZIP](https://github.com/ineshbose/Blackjack_CPP/archive/master.zip).\n\n### Building / Compiling\nThere are four options available ordered by recommendation. You should compile the program in the `build` directory.\n```sh\n$ cd build\n```\n\n#### CMake\n```sh\n$ cmake ..          # generates build configuration (Makefile)\n$ cmake --build .   # or `make` to build the executable\n$ ./blackjack       # viola!\n```\n\n#### Meson\n```sh\n$ meson ..          # generates build configuration (ninja)\n$ ninja             # builds the executable\n$ ./blackjack       # viola!\n```\n\n#### Make\n```sh\n$ cd ..             # if you are in the build directory\n$ make              # builds executable based on Makefile\n$ ./blackjack       # viola!\n```\n\n#### g++\n```sh\n$ cd ..             # if you are in the build directory\n$ g++ src/blackjack.cpp src/card.cpp src/dealer.cpp src/deck.cpp src/game.cpp src/human.cpp src/player.cpp src/print.cpp src/statistics.cpp -o blackjack\n$ ./blackjack       # viola!\n```\n\n\n## 🙌 Contributing\nAny kind of contributions / improvements are greatly appreciated!\n* To report any bug, [raise an issue](https://github.com/ineshbose/Blackjack_CPP/issues).\n* To make changes to this repository, [create a pull request](https://github.com/ineshbose/Blackjack_CPP/pulls).\n\nAll contributors will be thanked and named in the README. 😄","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fineshbose%2Fblackjack_cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fineshbose%2Fblackjack_cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fineshbose%2Fblackjack_cpp/lists"}