{"id":22017306,"url":"https://github.com/rcapers/bj-gui-react","last_synced_at":"2026-04-20T09:31:38.035Z","repository":{"id":265493456,"uuid":"896108606","full_name":"rcapers/bj-gui-react","owner":"rcapers","description":"Blackjack in React","archived":false,"fork":false,"pushed_at":"2024-11-29T15:58:42.000Z","size":274,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T09:32:08.748Z","etag":null,"topics":["blackjack","blackjack-game","blackjack-react","react","zustand"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/rcapers.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}},"created_at":"2024-11-29T15:03:57.000Z","updated_at":"2024-11-29T15:58:46.000Z","dependencies_parsed_at":"2024-11-29T16:35:17.547Z","dependency_job_id":"4ad683d0-52d4-4ebd-a5f8-e9b96e82e0ad","html_url":"https://github.com/rcapers/bj-gui-react","commit_stats":null,"previous_names":["rcapers/bj-gui-react"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rcapers/bj-gui-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcapers%2Fbj-gui-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcapers%2Fbj-gui-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcapers%2Fbj-gui-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcapers%2Fbj-gui-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rcapers","download_url":"https://codeload.github.com/rcapers/bj-gui-react/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcapers%2Fbj-gui-react/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32041219,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"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":["blackjack","blackjack-game","blackjack-react","react","zustand"],"created_at":"2024-11-30T05:05:52.998Z","updated_at":"2026-04-20T09:31:37.760Z","avatar_url":"https://github.com/rcapers.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blackjack React Game\n\nWelcome to the Blackjack React Game! This is a simple yet engaging implementation of the classic Blackjack game using React and Zustand for state management.\n\n## Gameplay Preview Video\nhttps://github.com/user-attachments/assets/bc83f315-502f-4b18-bb94-229cbff10ff2\n\n## Features\n- **Interactive Gameplay:** Enjoy a smooth and interactive experience with animations and sound effects.\n- **Sound Effects:** Optional sound effects for card dealing, winning, losing, and more.\n- **Hints System:** Get basic strategy hints to improve your gameplay (optional).\n- **Statistics Tracking:** Track your wins, losses, and other game statistics.\n\n## Gameplay Rules\n- The goal is to beat the dealer's hand without going over 21.\n- Face cards (King, Queen, Jack) are worth 10 points.\n- Aces are worth 1 or 11 points, whichever is more favorable.\n- Each player starts with two cards, one of the dealer's cards is hidden until the end.\n- \"Hit\" to ask for another card. \"Stand\" to hold your total and end your turn.\n- If you go over 21 you bust, and the dealer wins regardless of the dealer's hand.\n- If you are dealt 21 from the start (Ace \u0026 10), you got a blackjack.\n- Dealer will hit until their cards total 17 or higher.\n\n## Setup Instructions\n\n### Prerequisites\n- Node.js (version 16 or higher)\n- npm (version 8 or higher)\n\n### Installation\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/rcapers/bj-gui-react.git\n   ```\n2. Navigate into the project directory:\n   ```bash\n   cd bj-gui-react\n   ```\n3. Install the dependencies:\n   ```bash\n   npm install\n   ```\n\n### Running the Game\nTo start the development server, run:\n```bash\nnpm run dev\n```\nThis will open the game in your default web browser. You can now play the game and make changes to the code, which will automatically reload the game.\n\n### Building for Production\nTo build the app for production, run:\n```bash\nnpm run build\n```\nThis will create an optimized build of the game in the `build` folder.\n\n## Contributing\nFeel free to fork the repository and submit pull requests. Any contributions are welcome!\n\n## License\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frcapers%2Fbj-gui-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frcapers%2Fbj-gui-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frcapers%2Fbj-gui-react/lists"}