{"id":23554562,"url":"https://github.com/synfo/minimax-framework","last_synced_at":"2025-07-25T21:36:31.163Z","repository":{"id":68585181,"uuid":"44911130","full_name":"sYnfo/minimax-framework","owner":"sYnfo","description":"Simple framework for making CLI text games that gives you minimax AI for 'free'","archived":false,"fork":false,"pushed_at":"2015-10-25T22:55:22.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-17T13:23:45.801Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/sYnfo.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}},"created_at":"2015-10-25T13:27:26.000Z","updated_at":"2015-10-25T22:55:23.000Z","dependencies_parsed_at":"2023-02-21T18:00:26.341Z","dependency_job_id":null,"html_url":"https://github.com/sYnfo/minimax-framework","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sYnfo%2Fminimax-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sYnfo%2Fminimax-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sYnfo%2Fminimax-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sYnfo%2Fminimax-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sYnfo","download_url":"https://codeload.github.com/sYnfo/minimax-framework/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254407182,"owners_count":22066185,"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-12-26T12:16:05.442Z","updated_at":"2025-05-15T19:30:48.691Z","avatar_url":"https://github.com/sYnfo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# minimax\n\nFramework for two-player CLI games that gives you a simple minimax AI for\n'free'.\n\n## Usage\n\nTo use the framework you have to create a class representing the game you want\nto implement, that includes the following methods:\n\n### over\n\nReturns True iff the game is over, False otherwise.\n\n### available_moves\n\nReturns an iterator with all the valid moves from the current game state.\n\n### get_new_state\n\nargument: move\n\nReturns an instance of the game class with the game state modified according\nto the move.\n\n### score\n\nReturns a numerical representation of how the current player is doing. Used by\nthe minimax algorithm.\n\n### display (optional)\n\nFor example implementation of couple games see the ```games``` folder.\n\n### variable: help_text\n\n### variable: move_explanation\n\n### variable: ply\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynfo%2Fminimax-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsynfo%2Fminimax-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsynfo%2Fminimax-framework/lists"}