{"id":24647044,"url":"https://github.com/mrtimu139/nontransitive-dice-simulator","last_synced_at":"2026-05-17T18:35:52.776Z","repository":{"id":273345178,"uuid":"919393499","full_name":"Mrtimu139/nontransitive-dice-simulator","owner":"Mrtimu139","description":"Initial release of the Generalized Non-Transitive Dice Game. Includes fair random number generation, configurable dice, HMAC-based validation protocol, help table with probabilities, and modular class design for flexibility and scalability.","archived":false,"fork":false,"pushed_at":"2025-01-20T10:10:48.000Z","size":16701,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T16:24:42.754Z","etag":null,"topics":["cryptography","dice-game","error-handling","fair-random-generation","game-theory","hmac-sha3-224","interactive-game","javascript","nodejs","nontransitive-dice-game"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Mrtimu139.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":"2025-01-20T10:05:45.000Z","updated_at":"2025-01-20T10:15:44.000Z","dependencies_parsed_at":"2025-01-20T11:33:51.954Z","dependency_job_id":null,"html_url":"https://github.com/Mrtimu139/nontransitive-dice-simulator","commit_stats":null,"previous_names":["mrtimu139/nontransitive-dice-simulator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Mrtimu139/nontransitive-dice-simulator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mrtimu139%2Fnontransitive-dice-simulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mrtimu139%2Fnontransitive-dice-simulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mrtimu139%2Fnontransitive-dice-simulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mrtimu139%2Fnontransitive-dice-simulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mrtimu139","download_url":"https://codeload.github.com/Mrtimu139/nontransitive-dice-simulator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mrtimu139%2Fnontransitive-dice-simulator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33149829,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["cryptography","dice-game","error-handling","fair-random-generation","game-theory","hmac-sha3-224","interactive-game","javascript","nodejs","nontransitive-dice-game"],"created_at":"2025-01-25T15:14:27.748Z","updated_at":"2026-05-17T18:35:52.760Z","avatar_url":"https://github.com/Mrtimu139.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nontransitive-dice-simulator\nInitial release of the Generalized Non-Transitive Dice Game. Includes fair random number generation, configurable dice, HMAC-based validation protocol, help table with probabilities, and modular class design for flexibility and scalability.\n\n# Generalized Non-Transitive Dice Game\n\nThis project implements a command-line-based non-transitive dice game with the following features:\n- **Fair Random Number Generation:** A cryptographically secure protocol ensures fairness, using HMAC and modular arithmetic.\n- **Configurable Dice:** Players can specify any number of dice with custom sides.\n- **Help Table:** Displays the probability of winning for each dice pair in the game.\n- **Robust Input Handling:** Validates dice configurations and handles errors gracefully.\n- **Modular Design:** Follows clean coding principles with separate classes for each responsibility.\n\n## **Features**\n- Fair random number generation using cryptographic keys (HMAC-SHA3).\n- Support for any number of dice with arbitrary sides.\n- Interactive gameplay with user and computer participation.\n- Probability table for analyzing dice pairs.\n- Error handling for invalid configurations.\n\n## **Usage**\n1. Install [Node.js](https://nodejs.org/).\n2. Clone the repository and navigate to the project folder:\n   ```bash\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrtimu139%2Fnontransitive-dice-simulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrtimu139%2Fnontransitive-dice-simulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrtimu139%2Fnontransitive-dice-simulator/lists"}