{"id":19661309,"url":"https://github.com/deerborg/oop-try","last_synced_at":"2025-04-28T20:32:34.316Z","repository":{"id":222836958,"uuid":"758347876","full_name":"deerborg/OOP-try","owner":"deerborg","description":"☕ DummyBox is a Java project aimed at demonstrating object-oriented programming principles. It includes features such as creating profile cards, calculating age and zodiac signs, computing geometric shapes' areas, performing BMI calculations, and playing the dice game Craps. Visit the GitHub repository for more details and contributions.","archived":false,"fork":false,"pushed_at":"2024-05-08T23:06:48.000Z","size":42,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T10:51:14.493Z","etag":null,"topics":[],"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/deerborg.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":"2024-02-16T05:47:58.000Z","updated_at":"2024-08-27T13:50:11.000Z","dependencies_parsed_at":"2024-02-18T16:33:17.789Z","dependency_job_id":null,"html_url":"https://github.com/deerborg/OOP-try","commit_stats":null,"previous_names":["deerborg/oop-try"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deerborg%2FOOP-try","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deerborg%2FOOP-try/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deerborg%2FOOP-try/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deerborg%2FOOP-try/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deerborg","download_url":"https://codeload.github.com/deerborg/OOP-try/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251384013,"owners_count":21580989,"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-11T16:06:54.585Z","updated_at":"2025-04-28T20:32:34.071Z","avatar_url":"https://github.com/deerborg.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DummyBox - uCard\n\nThis Java program includes functionalities for creating a profile card, calculating age, displaying birthdate information, determining horoscope, calculating area (for square, rectangle, and circle), calculating Body Mass Index (BMI), and an example of a dice game (Craps).\n\n## How to Use\n\n1. Include the `uCard` class in your project.\n2. Create an object of `uCard`.\n3. Create a profile card using the `create_card()` method.\n4. Use other methods to perform desired operations.\n\n## Methods\n\n- `create_card()`: Creates a profile card.\n- `age(int year)`: Calculates age.\n- `birthDay(int year, int month, int day)`: Displays birthdate information.\n- `horoscope(int day, int month)`: Determines horoscope based on birthdate.\n- `area_calculation()`: Calculates area (for square, rectangle, and circle).\n- `bmi_calculation()`: Calculates Body Mass Index (BMI).\n- `crapsGame()`: Provides an example of a dice game.\n\n## Examples\n\n```java\n// Creating a profile card\nuCard example = new uCard();\nexample.create_card();\n\n// Calculating age\nexample.age(1990);\n\n// Displaying birthdate information\nexample.birthDay(1990, 5, 21);\n\n// Determining horoscope\nexample.horoscope(21, 5);\n\n// Calculating area\nexample.area_calculation();\n\n// Calculating Body Mass Index (BMI)\nexample.bmi_calculation();\n\n// Example of a dice game\nexample.crapsGame();\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeerborg%2Foop-try","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeerborg%2Foop-try","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeerborg%2Foop-try/lists"}