{"id":26408085,"url":"https://github.com/saganaki22/blackjack","last_synced_at":"2026-02-18T16:31:33.667Z","repository":{"id":282067565,"uuid":"947386105","full_name":"Saganaki22/Blackjack","owner":"Saganaki22","description":"A sleek, responsive BlackJack game built with pure HTML, CSS and JavaScript featuring interactive chip betting, animated card dealing, and touch-optimized controls for all devices.   ♠️♥️♣️♦️","archived":false,"fork":false,"pushed_at":"2025-03-13T16:01:52.000Z","size":119,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-26T04:26:50.802Z","etag":null,"topics":["blackjack","card-game","casino-game","css3","html5","javascript","mobile-friendly","neon-theme","no-dependencies","responsive-design","web-game"],"latest_commit_sha":null,"homepage":"http://drbaph.is-a.dev/Blackjack/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Saganaki22.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,"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":"2025-03-12T15:53:28.000Z","updated_at":"2025-10-14T13:07:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"fcce856e-97f9-42ae-847f-ca995fd0b223","html_url":"https://github.com/Saganaki22/Blackjack","commit_stats":null,"previous_names":["saganaki22/blackjack"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Saganaki22/Blackjack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saganaki22%2FBlackjack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saganaki22%2FBlackjack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saganaki22%2FBlackjack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saganaki22%2FBlackjack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Saganaki22","download_url":"https://codeload.github.com/Saganaki22/Blackjack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Saganaki22%2FBlackjack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29585548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T13:56:48.962Z","status":"ssl_error","status_checked_at":"2026-02-18T13:54:34.145Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["blackjack","card-game","casino-game","css3","html5","javascript","mobile-friendly","neon-theme","no-dependencies","responsive-design","web-game"],"created_at":"2025-03-17T18:38:26.854Z","updated_at":"2026-02-18T16:31:33.657Z","avatar_url":"https://github.com/Saganaki22.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BlackJack ♠️♥️♣️♦️\n\nA modern, interactive BlackJack game with a sleek casino-inspired interface. Play the classic card game against the dealer with realistic animations and intuitive touch controls.\n\n![image](https://github.com/user-attachments/assets/1a2a42b0-766b-4c8b-a7c9-c467e11ff289)\n\n\n## Features\n\n- 🎮 Classic BlackJack gameplay against the dealer\n- 💰 Interactive chip betting system with drag-and-drop functionality\n- 💳 Customizable bet amounts with various chip denominations\n- 🃏 Animated card dealing and gameplay\n- 📱 Fully responsive design for all devices\n- 🌈 Stunning neon/casino-inspired visuals\n- 📊 Game history tracking to review your wins and losses\n- 👆 Optimized for touch interactions on mobile devices\n- 🔄 Automatic deck shuffling when needed\n\n## Architecture\n\nThis BlackJack game is built with a clean, modern web architecture:\n\n- **Frontend**: Pure HTML5, CSS3, and Vanilla JavaScript\n- **UI Framework**: Custom-built responsive layout with flexbox\n- **Animation System**: CSS keyframe animations and JavaScript transitions\n- **Game Logic**: Object-oriented JavaScript with state management\n- **Rendering**: DOM-based card and chip rendering\n- **Input Handling**: \n  - Mouse events for desktop\n  - Touch events for mobile devices\n  - Drag and drop API for betting chips\n- **Responsive Design**: Media queries for different screen sizes\n- **Storage**: In-memory game state management\n\nThe entire application is contained in a single HTML file, making it extremely portable and easy to deploy.\n\n## Device Compatibility\n\nBlackJack is thoroughly tested and optimized for:\n\n- **Desktop**: Supports all modern browsers (Chrome, Firefox, Safari, Edge)\n- **Tablets**: Optimized layout for iPad and Android tablets\n- **Mobile Phones**: Responsive design with touch-optimized controls\n  - Custom touch handling for chip placement\n  - Collapsible information panel for more screen space\n  - Appropriately sized buttons for touch input\n  - Optimized display for all screen sizes including small devices\n\n## How to Play\n\n1. Drag chips from the chip tray to the betting area to place your bet\n2. Click the \"Deal Cards\" button to start the game\n3. Choose your action: Hit, Stand, Double Down\n4. Try to beat the dealer by getting closer to 21 without going over\n5. Win to collect your bet, or lose and try again!\n\n## Development\n\nTo run the game locally:\n\n1. Clone this repository\n2. Open `index.html` in your web browser\n3. No build process or dependencies required!\n\n![og-image](https://github.com/user-attachments/assets/e3b6e206-9cfc-4bf4-aca0-b8c9be38b59b)\n\n## License\n\n```\nCopyright 2023 BlackJack\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\n\n\n![og-image](https://github.com/user-attachments/assets/e3b6e206-9cfc-4bf4-aca0-b8c9be38b59b)\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n``` \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaganaki22%2Fblackjack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaganaki22%2Fblackjack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaganaki22%2Fblackjack/lists"}