{"id":22441974,"url":"https://github.com/colinbut/roulette","last_synced_at":"2026-05-20T14:35:11.281Z","repository":{"id":69158645,"uuid":"161902708","full_name":"colinbut/roulette","owner":"colinbut","description":null,"archived":false,"fork":false,"pushed_at":"2018-12-16T11:21:23.000Z","size":407,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T10:16:22.078Z","etag":null,"topics":["java","java-7","multithreading","spring","springframework"],"latest_commit_sha":null,"homepage":null,"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/colinbut.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":"2018-12-15T12:25:59.000Z","updated_at":"2018-12-16T11:21:24.000Z","dependencies_parsed_at":"2023-03-11T05:23:37.717Z","dependency_job_id":null,"html_url":"https://github.com/colinbut/roulette","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/colinbut/roulette","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinbut%2Froulette","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinbut%2Froulette/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinbut%2Froulette/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinbut%2Froulette/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/colinbut","download_url":"https://codeload.github.com/colinbut/roulette/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colinbut%2Froulette/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264916028,"owners_count":23682957,"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":["java","java-7","multithreading","spring","springframework"],"created_at":"2024-12-06T02:17:00.979Z","updated_at":"2026-05-20T14:35:11.212Z","avatar_url":"https://github.com/colinbut.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Roulette\n\n![Image of Roulette](etc/roulette.png)\n\n## Table of Contents\n\n* [Configuration](#configuration)\n* [Build](#build)\n* [Running the Game](#running-the-game)\n* [Stopping the Game](#stopping-the-game)\n* [Logging](#logging)\n* [Limitations](#limitations)\n\n## \u003ca name=\"configuration\"\u003e\u003c/a\u003eConfiguration\n\nA config.properties file is provided to conifgure and tune certain properties\nThe time between each random number is generated can be configured - default to 30 seconds\n\nThe input file path to the game is also configurable. Need to make sure it points to the correct path.\n\n## \u003ca name=\"build\"\u003e\u003c/a\u003eBuild\n\n```bash\nmvn clean verify\n```\n\n\n## \u003ca name=\"running-the-game\"\u003e\u003c/a\u003eRunning the Game\n\n1) Run from terminal/Command line\n\n```bash\ncd target/classes\n```\n\nand then run:\n\n```bash\njava -cp \".:lib/*\" Roulette\n```\n\n2) Run from IDE\n\nMain class in Roulette.java\n\n## \u003ca name=\"stopping-the-game\"\u003e\u003c/a\u003eStopping the Game\n\nif game is run from terminal, `ctrl-c` or similar will kill the program, likewise when run from IDE can be stopped from IDE controls\n\n## \u003ca name=\"logging\"\u003e\u003c/a\u003eLogging\n\nLogging is available and SLF4j is used with Log4j the implementation\n\nThe logging level can be changed in the `log4j.properties` file according to needs.\n\nCurrently set to DEBUG level.\n\nThe log file is `output.log`\n\n## \u003ca name=\"limitations\"\u003e\u003c/a\u003eLimitations\n\n1) There is a single console for both reading in lines and outputting betting results\n2) The system console is from a terminal window/command line\n3) The game once started will run indefinitely, until it is stopped\n4) Performance is not considered\n5) Same player can place another bet (but the new bet will override the previous bet)\n6) Input file would be correctly configured and loaded with all data on startup","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolinbut%2Froulette","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcolinbut%2Froulette","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolinbut%2Froulette/lists"}