{"id":19540577,"url":"https://github.com/kernferm/black-jack-mini-game","last_synced_at":"2026-04-13T13:31:58.880Z","repository":{"id":258184193,"uuid":"850080350","full_name":"KernFerm/black-jack-mini-game","owner":"KernFerm","description":"This is a simple Blackjack game written in Python with both GUI and command-line support. Enjoy the thrill of Blackjack with colorful emojis and a user-friendly graphical interface! 😎🎴","archived":false,"fork":false,"pushed_at":"2025-05-20T21:54:56.000Z","size":953,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-02T04:02:56.614Z","etag":null,"topics":["21","blackjack-game","command-line","docker","docker-compose","docker-image","dockerfile","fnbubbles420org","gui","python","user-friendly"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KernFerm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-08-30T20:53:27.000Z","updated_at":"2025-05-20T21:55:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"62065f9f-1686-4703-8e6e-12d14561394b","html_url":"https://github.com/KernFerm/black-jack-mini-game","commit_stats":null,"previous_names":["kernferm/black-jack-mini-game"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/KernFerm/black-jack-mini-game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernFerm%2Fblack-jack-mini-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernFerm%2Fblack-jack-mini-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernFerm%2Fblack-jack-mini-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernFerm%2Fblack-jack-mini-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KernFerm","download_url":"https://codeload.github.com/KernFerm/black-jack-mini-game/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KernFerm%2Fblack-jack-mini-game/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273227971,"owners_count":25067691,"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","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["21","blackjack-game","command-line","docker","docker-compose","docker-image","dockerfile","fnbubbles420org","gui","python","user-friendly"],"created_at":"2024-11-11T03:04:56.892Z","updated_at":"2026-04-13T13:31:58.865Z","avatar_url":"https://github.com/KernFerm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/KernFerm/black-jack-mini-game/blob/main/Logo/blackjack.png\" width=\"400\" alt=\"Blackjack Logo\"\u003e\n\u003c/p\u003e\n\n\n\n## READ EVERYTHING CAREFULLY\n- **Including**: `Readme.md` , `License` , `Code_of_Conduct.md` , `Security.md`.\n\n- [LICENSE](https://github.com/KernFerm/black-jack-mini-game/blob/main/LICENSE)\n- [Code_of_Conduct.md](https://github.com/KernFerm/black-jack-mini-game/blob/main/CODE_OF_CONDUCT.md)\n- [Security.md](https://github.com/KernFerm/black-jack-mini-game/blob/main/SECURITY.md)\n\n---\n### Support the Project ⭐\n\n- If you find this project useful, please give it a star! Your support is appreciated and helps keep the project growing. 🌟\n---\n```\n📂 .github/             - GitHub configuration folder\n📂 main-blackjack-game  - Has the main.py ( non docker )\n📂 Logo/                - Project logos\n📄 .gitignore           - Git ignored files\n📄 CODE_OF_CONDUCT.md   - Code of conduct for the project\n📄 LICENSE              - License for the project\n📄 README.md            - Project documentation\n📄 SECURITY.md          - Security policies\n📄 blackjack.py         - Blackjack game logic for Docker\n📄 docker-compose.yml   - Docker Compose configuration\n📄 dockerfile           - Dockerfile for building the image\n📄 install.bat          - Installation batch script\n📄 requirements.txt     - Python dependencies\n```\n\n# 🎉 Welcome to Blackjack! 🎉\n\nThis is a simple **Blackjack** game written in Python with both **GUI** and **command-line** support. Enjoy the thrill of Blackjack with colorful emojis and a user-friendly graphical interface! 😎🎴\n\n## 🎲 How to Play\n\n1. **Hit 🃏** - Draw another card and add it to your hand.\n2. **Stand 🚶** - Keep your current hand and see if you beat the dealer.\n3. **Forfeit 🚫** - Give up and let the dealer win automatically.\n\n## 🎨 Features\n- **Command-line Version:** Play directly in the terminal using your keyboard.\n- **GUI Version:** Play using buttons with a graphical interface (Tkinter-based).\n- **🎨 Colored Text:** Uses colorama to bring your game to life with colors!\n- **🃏 Card Drawing:** Random card selection simulating a real Blackjack game.\n- **🏆 Win Conditions:** Play against the dealer and see if you can beat the house.\n\nThe goal is to get as close to 21 as possible without going over. If you go over 21, you **bust** 💥 and lose the game!\n\n### **Download the EXE of the Application [Click Here](https://github.com/KernFerm/black-jack-mini-game/releases/tag/black-jack-mini-game-EXE)**\n\n# Join the discord if you need help \n\n[https://fnbubbles420.org/discordinvite](https://fnbubbles420.org/discordinvite)\n\n- **Follow the Instruction to install `Docker Desktop App` if you need help**\n-----\n\n# 🃏 Blackjack Game in Docker\n\nThis project is a command-line Blackjack game built using Python and Docker.\n\n`blackjack.py` is for **Docker**\n\n## Download and install `Docker`\n- **[Download Docker- arm64](https://desktop.docker.com/win/main/arm64/Docker%20Desktop%20Installer.exe?utm_source=docker\u0026utm_medium=webreferral\u0026utm_campaign=dd-smartbutton\u0026utm_location=module)**\n- **[Download_Docker- amd64](https://desktop.docker.com/win/main/amd64/Docker%20Desktop%20Installer.exe?utm_source=docker\u0026utm_medium=webreferral\u0026utm_campaign=dd-smartbutton\u0026utm_location=module)**\n\n## 🐳 Docker Commands\n\n### 🛠️ Build the Docker image:\n```\ndocker build -t blackjack-game .\n```\n▶️ Run the Docker container interactively:\n```\ndocker run -it blackjack-game\n```\n♻️ Rebuild the Docker image without cache:\n```\ndocker build --no-cache -t blackjack-game .\n```\n📋 List running containers:\n```\ndocker ps\n```\n🛑 Stop a running container:\n```\ndocker stop \u003ccontainer_id\u003e\n```\n📜 View logs from the container:\n```\ndocker logs \u003ccontainer_id\u003e\n```\n🗑️ Remove the container:\n```\ndocker rm \u003ccontainer_id\u003e\n```\n🗑️ Remove the Docker image:\n```\ndocker rmi blackjack-game\n```\n- These commands will help you manage the Blackjack game using Docker efficiently.\n\n\n## 🖥 GUI Version\n\nIf you prefer a graphical interface, this version comes with a simple Tkinter-based GUI, providing buttons for \"Hit,\" \"Stand,\" and \"Forfeit.\" The game state, including your cards and the dealer's cards, will be displayed in the window.\n\n## 🐍 Python Versions Supported\n- This game supports the following Python versions:\n\n1. **Python 3.11.6 - [Download here](https://github.com/KernFerm/Py3.11.6installer)**\n2. **Python 3.11.9 - [Download here](https://github.com/KernFerm/Py3.11.9installer)**\n3. **Python 3.12.1 - [Download here](https://github.com/KernFerm/Py3.12.1-installer-batch)**\n\n### 🛠 GUI Setup\n\n1. Ensure you have Python installed (3.11.6 or later recommended).\n2. Install the required dependencies by running:\n\n    ```\n    pip install colorama tk\n    ```\n\n3. **Run the game using:**\n- make sure to `CD`\n- a. right click on `main.py` file in the **main-blackjack** folder\n- b. go to `properties`\n- c. find `location`\n- d. `copy` **entire** location\n- e. `paste` location you just copied paste it in `CMD.exe`\n- f. press `enter`\n    ```\n    python main.py\n    ```\n\n\n## 🛠 Command-Line Version Setup\n\n### **Option 1: Manual Setup**\n\n1. **Ensure you have Python installed (3.11.6 or later recommended).**\n2. **Install the required dependencies by running:**\n    ```\n    pip install colorama tk\n    ```\n\n3. **Download or clone this repo.**\n4. **Run the game using:**\n- make sure to `CD`\n- a. right click on `main.py` file in the **main-blackjack** folder\n- b. go to `properties`\n- c. find `location`\n- d. `copy` **entire** location\n- e. `paste` location you just copied paste it in `CMD.exe`\n- f. press `enter`\n    ```\n    python main.py\n    ```\n\n## **Option 2: Automated Setup Using Batch Script**\n\n- If you prefer an automated setup, you can use the provided batch script:\n- A `Batch script` is included in the repo with all the necessary files.\n- No need to create a file manually.\n\n## Example Batch Script\n\n```\n@echo off\n:: Batch script to install colorama and tkinter with a loading bar for finalization\n\necho Installing colorama...\npip install colorama\n\necho Press Enter to continue to install the other dependencies.\npause\n\necho Installing tkinter...\npip install tk\n\necho Press Enter to finalize the install.\npause\n\n:: Finalization with a loading bar\necho Finalizing...\nsetlocal\nset \"progressBar=\"\nfor /L %%A in (1,1,10) do (\n    set \"progressBar=#%progressBar%\"\n    echo [%progressBar%] %%A0%%\n    ping -n 2 127.0.0.1 \u003enul\n)\n\nendlocal\necho All packages have been installed!\necho You may now exit the cmd.exe.\npause\n```\n\n- Double-click `install.bat` to run the script. It will automatically install the `colorama` package with a progress bar for better user experience.\n- After installation, run the game using:\n\n    ```\n    python main.py\n    ```\n\n## 📜 License\n\n- This project is proprietary and all rights are reserved by the author. \nUnauthorized copying, distribution, or modification of this project is strictly prohibited. \nUnless You have written permission from the Developer or the FNBUBBLES420 ORG.\n\n## 🎮 Enjoy the Game!\n\n- Have fun playing Blackjack, and may the cards be ever in your favor! 🍀🎴\n\n## Acknowledgement\n- Forked repo from [@LeopoldPrime](https://github.com/LeopoldPrime/Blackjack-Minigame) then `Remade it better`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkernferm%2Fblack-jack-mini-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkernferm%2Fblack-jack-mini-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkernferm%2Fblack-jack-mini-game/lists"}