{"id":15028689,"url":"https://github.com/gaboreszaki/mathgame","last_synced_at":"2026-01-31T21:39:52.377Z","repository":{"id":183506103,"uuid":"123821555","full_name":"gaboreszaki/MathGame","owner":"gaboreszaki","description":"Math-Game 2.0","archived":false,"fork":false,"pushed_at":"2024-08-29T13:17:05.000Z","size":276,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-13T04:29:14.623Z","etag":null,"topics":["oop","php83","phpunit","vite"],"latest_commit_sha":null,"homepage":"https://math-game.northweb.dev/","language":"PHP","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/gaboreszaki.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":"2018-03-04T19:31:38.000Z","updated_at":"2024-08-27T17:55:15.000Z","dependencies_parsed_at":"2024-09-28T20:21:30.398Z","dependency_job_id":null,"html_url":"https://github.com/gaboreszaki/MathGame","commit_stats":null,"previous_names":["gaboreszaki/mathgame"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/gaboreszaki/MathGame","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaboreszaki%2FMathGame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaboreszaki%2FMathGame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaboreszaki%2FMathGame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaboreszaki%2FMathGame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gaboreszaki","download_url":"https://codeload.github.com/gaboreszaki/MathGame/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gaboreszaki%2FMathGame/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261624960,"owners_count":23186118,"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":["oop","php83","phpunit","vite"],"created_at":"2024-09-24T20:08:53.899Z","updated_at":"2026-01-31T21:39:52.336Z","avatar_url":"https://github.com/gaboreszaki.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MathGame 2.0\n## 2.0 Update\n- New interface\n- New Game mechanics\n- php 8.3 support\n- New Game controllers\n\n## What is this project:\nThis is a small game for mostly practice TDD and advanced PHP 7 techniques.\n\nThe game can generate infinite amount of basic math question and the matching answer, with customisable difficulty.\n\n**[Working demo](https://math-game.northweb.dev/)**\n\nTo run this app you need to run a ` composer install `\n\n\n### Current Features:\n\n* 5 difficulty level\n* 4 math operation support\n* infinite amount of basic math question\n\n\n### Difficulties :\n\n#### \"easy\":                        //default\n- min_num = 1;\n- max_num = 5;\n- operations available: + -\n\n#### \"medium\":\n- min_num = 1;\n- max_num = 10;\n- operations available: * /\n\n#### \"hard\":\n- min_num = 10;\n- max_num = 100;\n- operations available: + - * /\n\n#### \"nerd\":\n- min_num = 100;\n- max_num = 9999;\n- operations available: + - * /\n\n#### \"ultra\":\n- min_num = 99999;\n- max_num = 9999999;\n- operations available: + - * /\n\n\n#### Example:\n\n\n```\n\n    $new_game = new App\\Controllers\\GameController;\n\n    $new_game-\u003esetGameDificulty(\"medium\");      // optional - see difficulties\n    $new_game-\u003estartGame();\n\n\n    $the_question = $new_game-\u003eshow_the_question();\n    $the_answer = $new_game-\u003egetAnswer();\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaboreszaki%2Fmathgame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgaboreszaki%2Fmathgame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgaboreszaki%2Fmathgame/lists"}