{"id":27302424,"url":"https://github.com/brunortech/casino-craps-game","last_synced_at":"2025-06-11T20:05:39.284Z","repository":{"id":269493359,"uuid":"907587864","full_name":"BrunoRTech/Casino-Craps-Game","owner":"BrunoRTech","description":"A Java-based implementation of the classic casino dice game Craps, developed as part of a school assessment. Features customizable dice, statistical tracking, and realistic gameplay rules for an engaging, interactive experience.","archived":false,"fork":false,"pushed_at":"2024-12-24T21:45:43.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T02:39:26.524Z","etag":null,"topics":["beginner-java","casino-game","craps","dice-game","game-development","interactive-game","java","java-project","software-project","text-based-games"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BrunoRTech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-12-24T00:00:40.000Z","updated_at":"2024-12-24T21:46:50.000Z","dependencies_parsed_at":"2024-12-24T01:22:32.418Z","dependency_job_id":"ac06cb9f-8a78-4b2c-8e12-4c176e62360e","html_url":"https://github.com/BrunoRTech/Casino-Craps-Game","commit_stats":null,"previous_names":["bruneros8/casino-craps-game","brunortech/casino-craps-game"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BrunoRTech/Casino-Craps-Game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrunoRTech%2FCasino-Craps-Game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrunoRTech%2FCasino-Craps-Game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrunoRTech%2FCasino-Craps-Game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrunoRTech%2FCasino-Craps-Game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BrunoRTech","download_url":"https://codeload.github.com/BrunoRTech/Casino-Craps-Game/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BrunoRTech%2FCasino-Craps-Game/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259329952,"owners_count":22841519,"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":["beginner-java","casino-game","craps","dice-game","game-development","interactive-game","java","java-project","software-project","text-based-games"],"created_at":"2025-04-12T02:39:25.244Z","updated_at":"2025-06-11T20:05:39.248Z","avatar_url":"https://github.com/BrunoRTech.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Casino Craps Game\n\nThis project is a Java-based implementation of the classic casino dice game Craps, being the school assessment. It provides an interactive, text-based experience that simulates the rules and gameplay of Craps, including dice rolling and statistical tracking of outcomes.\n\n## Features\n- **Interactive Gameplay**: Text-based prompts guide the player through the game.\n- **Customizable Dice**: The `Die` class simulates an n-sided die, allowing flexibility in gameplay.\n- **Statistics Tracking**: Tracks the number of games played, wins, losses, and rolled outcomes.\n- **Realistic Rules**: Implements the full rules of Craps, including point value rolls and game-ending conditions.\n\n## File Structure\n- **`Craps.java`**: Contains the main game logic, player interaction, and rules of Craps.\n- **`Die.java`**: Defines the `Die` class, which simulates the behavior of a die.\n- **`__SHELL0.java`**: (Optional) Supporting file generated for testing or execution.\n\n## Usage\nTo play the game:\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/Bruneros8/Casino-Craps-Game.git\n   ```\n2. Navigate to the project directory:\n   ```bash\n   cd Casino-Craps-Game\n   ```\n3. Compile the Java files:\n   ```bash\n   javac *.java\n   ```\n4. Run the Craps game:\n   ```bash\n   java Craps\n   ```\n\n## How to Play\n1. **Objective**: Roll two dice to achieve specific outcomes:\n   - **Win Immediately**: Rolling a 7 or 11 on the first roll.\n   - **Lose Immediately**: Rolling a 2, 3, or 12 on the first roll.\n   - **Point Value**: Any other roll becomes the \"point,\" and the player must roll that number again before rolling a 7 to win.\n3. **Player Input**: Follow the prompts and press `Enter` to roll the dice.\n\n## Acknowledgment\nThis project was completed as part of a school assessment to demonstrate proficiency in Java programming. Feedback and suggestions for improvement are welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunortech%2Fcasino-craps-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrunortech%2Fcasino-craps-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunortech%2Fcasino-craps-game/lists"}