{"id":19446979,"url":"https://github.com/amanullahgit/randomgame","last_synced_at":"2025-02-25T08:43:10.132Z","repository":{"id":220701301,"uuid":"752281543","full_name":"Amanullahgit/RandomGame","owner":"Amanullahgit","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-03T16:39:42.000Z","size":280,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-07T22:57:04.650Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/Amanullahgit.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}},"created_at":"2024-02-03T15:10:08.000Z","updated_at":"2024-02-03T16:45:28.000Z","dependencies_parsed_at":"2024-02-03T18:45:14.710Z","dependency_job_id":"ea53be8c-5c7e-4743-8fa9-aa66894a346d","html_url":"https://github.com/Amanullahgit/RandomGame","commit_stats":null,"previous_names":["amanullahgit/randomgame"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amanullahgit%2FRandomGame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amanullahgit%2FRandomGame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amanullahgit%2FRandomGame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amanullahgit%2FRandomGame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Amanullahgit","download_url":"https://codeload.github.com/Amanullahgit/RandomGame/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240636529,"owners_count":19832921,"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":[],"created_at":"2024-11-10T16:16:03.181Z","updated_at":"2025-02-25T08:43:10.086Z","avatar_url":"https://github.com/Amanullahgit.png","language":"C++","readme":"**GitHub Repository for Flutter Random Game Project**\r\n\r\n### Project Overview\r\nThis Flutter project is a simple quiz game where users are challenged to guess a random number within a specified time limit. The game includes features such as a countdown timer, display cards for information, and buttons for starting, attempting, and resetting the game.\r\n\r\n### Developer Information\r\n- **Developer:** Amanullah Bahram\r\n\r\n\u003cimg src=\"https://github.com/Amanullahgit/RandomGame/assets/41961773/069c63f6-15b6-4374-af46-cc1e9e9f6fed\" width=\"480\" height=\"800\" /\u003e\r\n\r\n\r\n### Project Structure\r\nThe project is organized into multiple Dart files to enhance modularity and readability:\r\n\r\n1. **main.dart:** The entry point of the application, defining the main `MyApp` widget.\r\n\r\n2. **home.dart:** Contains the `HomePage` widget, which serves as the main screen of the quiz game. It includes various components like display cards, circular timer, and custom buttons.\r\n\r\n3. **displayCard.dart:** Defines the `DisplayCard` widget, responsible for displaying information in a card format. The card type determines the card's appearance.\r\n\r\n4. **customButton.dart:** Implements the `CustomStartButton` widget, creating a custom-styled button with a specified title and onPressed function.\r\n\r\n5. **circularTimer.dart:** Provides the `CircularTimer` widget, utilizing the `circular_countdown_timer` package to display a circular countdown timer.\r\n\r\n6. **GameModel.dart:** Represents the game's data model, extending `ChangeNotifier` for state management. It includes methods for resetting, starting, and checking results, as well as a timer for tracking game duration.\r\n\r\n7. **GameController.dart:** Manages the game's logic, utilizing the `GameModel` for data manipulation. It includes methods for resetting the game, starting the game, checking results, and handling timeouts.\r\n\r\n8. **pubspec.yaml:** Specifies project details, dependencies, and version information.\r\n\r\n### How to Run the Project\r\nTo run this Flutter project locally, follow these steps:\r\n\r\n1. Ensure you have Flutter and Dart installed on your machine.\r\n\r\n2. Clone the repository:\r\n   ```bash\r\n   git clone [repository_link]\r\n   ```\r\n\r\n3. Navigate to the project directory:\r\n   ```bash\r\n   cd random_quiz\r\n   ```\r\n\r\n4. Run the project using Flutter:\r\n   ```bash\r\n   flutter run\r\n   ```\r\n\r\n### Additional Notes\r\n- Make sure to check the [pubspec.yaml](pubspec.yaml) file for project dependencies.\r\n- Feel free to explore and customize the code according to your preferences.\r\n\r\n### Feedback and Contributions\r\nIf you have any feedback or suggestions, feel free to open an issue or submit a pull request. Contributions are always welcome!\r\n\r\n### License\r\nThis project is licensed under the [MIT License](LICENSE). See the [LICENSE](LICENSE) file for more details.\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famanullahgit%2Frandomgame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famanullahgit%2Frandomgame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famanullahgit%2Frandomgame/lists"}