{"id":24716860,"url":"https://github.com/samyam81/guessnum","last_synced_at":"2025-03-22T09:21:41.613Z","repository":{"id":221298895,"uuid":"753986444","full_name":"samyam81/GuessNUM","owner":"samyam81","description":"Guess the number.","archived":false,"fork":false,"pushed_at":"2024-05-21T07:32:37.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T09:14:25.802Z","etag":null,"topics":["class","cli","gui","java"],"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/samyam81.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-07T07:06:51.000Z","updated_at":"2024-06-23T12:07:49.000Z","dependencies_parsed_at":"2024-02-07T08:24:49.847Z","dependency_job_id":"740e7f64-8beb-4d2f-8fca-fcd63cfccd3a","html_url":"https://github.com/samyam81/GuessNUM","commit_stats":null,"previous_names":["samyam81/guessnum"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samyam81%2FGuessNUM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samyam81%2FGuessNUM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samyam81%2FGuessNUM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samyam81%2FGuessNUM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samyam81","download_url":"https://codeload.github.com/samyam81/GuessNUM/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244932989,"owners_count":20534270,"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":["class","cli","gui","java"],"created_at":"2025-01-27T09:14:29.167Z","updated_at":"2025-03-22T09:21:41.586Z","avatar_url":"https://github.com/samyam81.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Guess-The-Num\n\nThis repository contains two implementations of a \"Guess-The-Num\" game: one in console mode and the other in GUI mode using Java Swing.\n\n## Console Version (`guess` Class)\n- The `guess` class implements the console version of the game.\n- It generates a random number between 0 and 9 and prompts the user to guess the number.\n- The user has three lives to guess the correct number.\n- After each guess, the program provides hints to help the user guess the number.\n- Once the user runs out of lives, the game reveals the correct answer.\n\n## GUI Version (`guessnum` Class)\n- The `guessnum` class implements the GUI version of the game using Java Swing.\n- It provides a graphical interface for the user to input their guesses.\n- The interface displays the number of lives remaining and provides feedback on each guess.\n- The game continues until the user either guesses the correct number or runs out of lives.\n- Once the game ends, the GUI displays the correct answer.\n\n### How to Play\n- Run the `guess` class for the console version or the `guessnum` class for the GUI version.\n- Follow the prompts to input your guesses.\n- In the GUI version, click the number buttons to input your guess.\n- Pay attention to the feedback provided after each guess.\n- Try to guess the correct number within the given number of lives.\n\nEnjoy playing \"Guess-The-Num\" in both console and GUI modes!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamyam81%2Fguessnum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamyam81%2Fguessnum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamyam81%2Fguessnum/lists"}