{"id":18583789,"url":"https://github.com/barrymun/division-game","last_synced_at":"2025-05-16T05:10:25.495Z","repository":{"id":191435328,"uuid":"684647021","full_name":"barrymun/division-game","owner":"barrymun","description":"Division Game is an interactive game where players are tested on their ability to divide numbers.","archived":false,"fork":false,"pushed_at":"2023-09-05T20:10:59.000Z","size":4911,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-17T16:49:59.590Z","etag":null,"topics":["vanjs"],"latest_commit_sha":null,"homepage":"http://barrymun.vanjs-division-game.surge.sh/","language":"TypeScript","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/barrymun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-08-29T15:09:01.000Z","updated_at":"2024-06-14T08:16:32.000Z","dependencies_parsed_at":"2024-11-07T00:26:40.996Z","dependency_job_id":"bbe8873f-db39-4689-8d3b-18d6faf364d4","html_url":"https://github.com/barrymun/division-game","commit_stats":null,"previous_names":["barrymun/division-game"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barrymun%2Fdivision-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barrymun%2Fdivision-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barrymun%2Fdivision-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barrymun%2Fdivision-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/barrymun","download_url":"https://codeload.github.com/barrymun/division-game/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254471049,"owners_count":22076587,"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":["vanjs"],"created_at":"2024-11-07T00:24:43.109Z","updated_at":"2025-05-16T05:10:25.480Z","avatar_url":"https://github.com/barrymun.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Division Game\n\nDivision Game is an interactive game where players are tested on their ability to divide numbers. Written in TypeScript and using ViteJS for development and bundling.\n\n![Game screenshot](./screenshots/screenshot-1.png)\n\n## Objective\n\nYou're presented with two numbers:\n\n1. A larger number at the top.\n2. A smaller number at the bottom prepended with the phrase \"Divided by\".\n\nYour task is to divide the large number by the smaller number. The smaller number will always divide into the larger number evenly. \n\n**Rules**:\n- Players have 3 lives. Losing all lives requires a restart.\n- Submit an incorrect answer and lose a life.\n- Win by correctly answering 7 times in a row.\n\n## How to Play\n\nThere are 4 buttons with the numbers \"20\", \"10\", \"5\", and \"1\". Click on these buttons to set your answer. You can use a combination of these inputs, even using a button more than once. Your inputs will be summed up to provide the answer.\n\n## Features\n\n- Refresh the game anytime.\n- Dynamic visuals sourced from **midjourney**. All game prompts are constructed by the author.\n- Engaging UI/UX for optimal gameplay experience.\n\n## Future Plans\n\n- Introduce a leaderboard, recording and showcasing top players worldwide.\n- Implement logic to gauge if the player's chosen inputs are the most efficient way to get to the answer.\n\n## Setup and Installation\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/barrymun/division-game.git\n```\n\n2. Change into the directory:\n```bash\ncd division-game\n```\n\n3. Install the dependencies:\n```bash\nyarn install\n```\n\n4. Start the development server:\n```bash\nyarn dev\n```\n\nNow, the game should be running on `http://localhost:5173`.\n\n## Credits\n\n- Images, including background visuals, are sourced from [midjourney](https://www.midjourney.com/).\n- Game prompts and design by the author.\n- Inspired by the exercises on [Elevate](https://elevateapp.com/).\n- A heartfelt thank you to [VanJS](https://vanjs.org/) for their work.\n\n## License\n\nThis project is licensed under the MIT License.\n\n---\n\nEnjoy the game and keep practicing your division skills! 🎮🧠\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarrymun%2Fdivision-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarrymun%2Fdivision-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarrymun%2Fdivision-game/lists"}