{"id":22254086,"url":"https://github.com/teddy-van-jerry/dice_simulation","last_synced_at":"2025-07-28T05:33:02.005Z","repository":{"id":45346562,"uuid":"393670055","full_name":"Teddy-van-Jerry/Dice_Simulation","owner":"Teddy-van-Jerry","description":"Dice Physical Simulator","archived":false,"fork":false,"pushed_at":"2021-12-19T12:46:37.000Z","size":8055,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T15:53:48.332Z","etag":null,"topics":["3d","cpp","dice","physics","physics-simulation","qt","qt6","reactphysics3d","simulation"],"latest_commit_sha":null,"homepage":"https://wqzhao.org/p/dice-simulation","language":"C++","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/Teddy-van-Jerry.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-07T11:53:43.000Z","updated_at":"2024-12-02T00:51:46.000Z","dependencies_parsed_at":"2022-08-04T13:45:13.577Z","dependency_job_id":null,"html_url":"https://github.com/Teddy-van-Jerry/Dice_Simulation","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/Teddy-van-Jerry/Dice_Simulation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teddy-van-Jerry%2FDice_Simulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teddy-van-Jerry%2FDice_Simulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teddy-van-Jerry%2FDice_Simulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teddy-van-Jerry%2FDice_Simulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Teddy-van-Jerry","download_url":"https://codeload.github.com/Teddy-van-Jerry/Dice_Simulation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teddy-van-Jerry%2FDice_Simulation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267468389,"owners_count":24092334,"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":"2025-07-28T02:00:09.689Z","response_time":68,"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":["3d","cpp","dice","physics","physics-simulation","qt","qt6","reactphysics3d","simulation"],"created_at":"2024-12-03T07:22:09.831Z","updated_at":"2025-07-28T05:33:00.437Z","avatar_url":"https://github.com/Teddy-van-Jerry.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dice Simulation\n\n![Dice Simulation Logo](src/img/icon/ds-banner.png)\n\nThis is script-based software to enable different kinds of dice simulation in a visual way.\n\nThis software is based on [Qt](https://qt.io), [ReactPhysics3D](https://github.com/DanielChappuis/reactphysics3d) and [AStyle](https://sourceforge.net/projects/astyle).\n\n## Current Version\n\n|  Component  | Version | Description |\n| :---------: | :-----: | :---------: |\n|   Project   |  0.1.1  | Main project. |\n| ds-convert  |  0.1.1  | Convert `ds` code to standard `cpp` code. |\n| ds-compile  |  0.0.1  | Compile the converted `cpp` code. |\n|   ds-help   |    -    |             |\n| ds-maintain |    -    |             |\n|   ds-gui    |    -    |             |\n| [ds-vsc](https://github.com/Teddy-van-Jerry/Dice_Simulation_VSC) |  0.0.3  | Visual Studio Code Extension for DS. |\n\n\u003e Documentation version will follow the project version.\n\nIn this version, basic functions of ds-convert are achieved but tests have not been done.\n\n## Installation\n### Mac\n- Option 1: Download Release\n  - The release build is universal, for both Apple Silicon and Intel Silicon.\n  - Need to have `qtbase` or full Qt 6 (Best to be 6.2.0). You can install `qtbase` using MacPort with `sudo port install qt6-qtbase`. However this is not tested.\n- Option 2: Build from Source *(Recommended)*\n  - First build AStyle with CMake or XCode.\n  - Build Dice Simulation `pro` file.\n\n### Windows\n- Option 1: Download Release *(Recommended)*\n- Option 2: Build from Source\n  - You can try using the `AStyle.exe`. If it fails, build it with CMake.\n  - Build Dice Simulation `pro` file.\n\n### Linux\nYou have no choice but to build it yourself currently.\nBut it has been tested on Ubuntu 20, with Qt 6.2.2.\n\n## Project Schedule\n\n### Version 0.x\n\nIn version 0.x, Dice Simulation will be able to convert `ds`(`ds-cpp`) file to standard `cpp` file for simulation.\nDuring this time, a visual studio code extension will be developed in addition to the GUI tool.\n\nHere the task is split into four components:\n- **ds-convert**: Convert `ds`(`ds-cpp`) file to standard `cpp` file linked to ReactPhysics3D library.\n- **ds-compile**: Use C++ compilers (GCC/Clang/MSVC) to compile the converted `cpp` file. Error information is also needed to be stored to a `ds-err` (in the format of `json`) file and log information into a `ds-log` file.\n- **ds-gui**: A Qt-based GUI tool for the language `ds`. Components include *Editor*, *Terminal*, *Snippet*, etc.\n\n### Version 1.x\n\nOffer visual simulation using OpenGL.\n\n## Documentation\n\nDocumentation is published at https://dice.teddy-van-jerry and is in the repo [Teddy-van-Jerry/Dice_Simulation_Online_Doc](https://github.com/Teddy-van-Jerry/Dice_Simulation_Online_Doc) or [Dice-Simulation/Dice_Simulation_Online_Doc](https://github.com/Teddy-van-Jerry/Dice_Simulation_Online_Doc).\n\n## VS Code Extension\n\n- Repo: [Teddy-van-Jerry/Dice_Simulation_VSC](https://github.com/Teddy-van-Jerry/Dice_Simulation_VSC)\n- Market Place: https://marketplace.visualstudio.com/items?itemName=Teddy-van-Jerry.dice-simulation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteddy-van-jerry%2Fdice_simulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteddy-van-jerry%2Fdice_simulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteddy-van-jerry%2Fdice_simulation/lists"}