{"id":15055992,"url":"https://github.com/xotlr/cs-dicegame","last_synced_at":"2026-01-02T04:04:30.977Z","repository":{"id":224709694,"uuid":"763997505","full_name":"xotlr/cs-dicegame","owner":"xotlr","description":"OddEvenDiceGame is a very simple, interactive Java-based dice game where players bet points on the outcome of rolling two dice.","archived":false,"fork":false,"pushed_at":"2024-02-27T15:12:16.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-14T06:12:33.919Z","etag":null,"topics":["dice","java","javafx","javafx-gui","odd-even"],"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/xotlr.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}},"created_at":"2024-02-27T09:46:35.000Z","updated_at":"2024-02-27T12:17:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"53ac5511-fcf9-425e-95be-157f0916d2ee","html_url":"https://github.com/xotlr/cs-dicegame","commit_stats":null,"previous_names":["xotlr/cs-dicegame"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xotlr/cs-dicegame","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xotlr%2Fcs-dicegame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xotlr%2Fcs-dicegame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xotlr%2Fcs-dicegame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xotlr%2Fcs-dicegame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xotlr","download_url":"https://codeload.github.com/xotlr/cs-dicegame/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xotlr%2Fcs-dicegame/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28168764,"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":"2026-01-02T02:00:06.235Z","response_time":54,"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":["dice","java","javafx","javafx-gui","odd-even"],"created_at":"2024-09-24T21:47:34.018Z","updated_at":"2026-01-02T04:04:30.950Z","avatar_url":"https://github.com/xotlr.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OddEvenDiceGame\n\nOddEvenDiceGame is a simple, interactive Java-based dice game where players bet points on the outcome of rolling two dice. The game is designed to test the player's luck and decision-making skills in a fun and engaging way.\n\n## Game Rules\n\n- The player starts with 100 cash points.\n- The player places a bet from their available points before each round.\n- Two six-sided dice are rolled.\n- If the sum of the dice is an odd number, the player wins double their bet.\n- If the sum is an even number, the player loses their bet.\n- The game continues until the player decides to stop or runs out of cash points.\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes.\n\n### Prerequisites\n\nTo run this game, you will need:\n\n- Java Development Kit (JDK) installed on your machine.\n- A Java IDE (Integrated Development Environment) such as IntelliJ IDEA, Eclipse, or NetBeans, though not necessary, can make running and editing the code easier.\n\n### Installing\n\n1. Clone the repository or download the ZIP file of the project.\n2. If using an IDE:\n   - Import the project into your IDE.\n   - Ensure the JDK is correctly setup in your project settings.\n3. Locate the `DiceGame.java` file within the project directory.\n\n### Running the Game\n\n- If using an IDE, run the `DiceGame.java` file directly through the IDE.\n- Alternatively, open a terminal or command prompt, navigate to the project directory, and run the following command:\n\n```bash\njava DiceGame.java\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxotlr%2Fcs-dicegame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxotlr%2Fcs-dicegame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxotlr%2Fcs-dicegame/lists"}