{"id":19836226,"url":"https://github.com/opifexm/calcgames","last_synced_at":"2026-04-11T09:03:00.191Z","repository":{"id":175426643,"uuid":"653882326","full_name":"opifexM/CalcGames","owner":"opifexM","description":"The set of mini-games launched from the console","archived":false,"fork":false,"pushed_at":"2024-02-08T20:48:35.000Z","size":124,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T10:48:17.768Z","etag":null,"topics":["github-actions","javascript","jsdoc","nodejs","npm","readline-sync"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/opifexM.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":"2023-06-15T00:28:49.000Z","updated_at":"2024-01-31T01:01:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd670cb6-f722-4450-8200-6d8132016d2f","html_url":"https://github.com/opifexM/CalcGames","commit_stats":null,"previous_names":["opifexm/fullstack-javascript-project-44","opifexm/calcgames"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opifexM%2FCalcGames","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opifexM%2FCalcGames/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opifexM%2FCalcGames/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opifexM%2FCalcGames/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opifexM","download_url":"https://codeload.github.com/opifexM/CalcGames/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241202138,"owners_count":19926564,"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":["github-actions","javascript","jsdoc","nodejs","npm","readline-sync"],"created_at":"2024-11-12T12:10:32.933Z","updated_at":"2025-12-31T01:07:58.795Z","avatar_url":"https://github.com/opifexM.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Actions Status](https://github.com/opifexM/CalcGames/actions/workflows/hexlet-check.yml/badge.svg)](https://github.com/opifexM/CalcGames/actions/workflows/hexlet-check.yml)\n[![Node CI](https://github.com/opifexM/CalcGames/actions/workflows/nodejs.yml/badge.svg)](https://github.com/opifexM/CalcGames/actions/workflows/nodejs.yml)\n[![Maintainability](https://api.codeclimate.com/v1/badges/7632ba626da107e573c0/maintainability)](https://codeclimate.com/github/opifexM/CalcGames/maintainability)\n\n## Calc Games\n\nThis project is a set of mini-games launched from the console. \nThe games are designed to be both fun and educational, testing and improving your mathematical skills. \nThe project is implemented in JavaScript and utilizes a number of technologies and libraries.\n\n\n### Technologies\n\n-   JavaScript (ES6)\n-   Node.js\n-   JSDoc\n-   npm\n-   readline-sync\n-   GitHub Actions\n-   ESLint\n\n### Games Included\n\nThe project includes several mini-games, each focusing on different mathematical concepts:\n\n- `brain-calc.js`: A game where the user is asked to calculate the result of an arithmetic expression.\n- `brain-even.js`: A game where the user needs to determine if a number is even.\n- `brain-gcd.js`: A game to find the greatest common divisor of two numbers.\n- `brain-prime.js`: A game where the user should determine if a number is prime.\n- `brain-progression.js`: A game where the user needs to find the missing number in an arithmetic progression.\n\n### Installation\n\nTo install the games, you'll need to have Node.js and npm installed on your machine. After that, you can clone the repository and install the dependencies.\n\n```\ngit clone https://github.com/opifexM/CalcGames.git\ncd CalcGames\nnpm install\n```\n\n### Usage\nAfter installation, you can run any game directly from the command line. \n\nTo play the \"brain-games\" game:\n```bash\nnpm run brain-games\n```\n\nTo play the \"brain-even\" game:\n```bash\nnpm run brain-even\n```\n\nTo play the \"brain-calc\" game:\n```bash\nnpm run brain-calc\n```\n\nTo play the \"brain-gcd\" game:\n```bash\nnpm run brain-gcd\n```\n\nTo play the \"brain-progression\" game:\n```bash\nnpm run brain-progression\n```\n\nTo play the \"brain-prime\" game:\n```bash\nnpm run brain-prime\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopifexm%2Fcalcgames","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopifexm%2Fcalcgames","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopifexm%2Fcalcgames/lists"}