{"id":16272064,"url":"https://github.com/sshh12/genetic-connect4","last_synced_at":"2025-04-08T15:45:09.880Z","repository":{"id":70737728,"uuid":"95155374","full_name":"sshh12/Genetic-Connect4","owner":"sshh12","description":"Using evolution to evolve a minimax connect4 AI.","archived":false,"fork":false,"pushed_at":"2017-06-25T21:32:18.000Z","size":10,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-14T12:17:42.505Z","etag":null,"topics":["connect-four","evolution-simulation","minimax"],"latest_commit_sha":null,"homepage":"","language":"Python","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/sshh12.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":"2017-06-22T20:49:51.000Z","updated_at":"2017-06-25T21:10:31.000Z","dependencies_parsed_at":"2023-02-22T22:15:13.295Z","dependency_job_id":null,"html_url":"https://github.com/sshh12/Genetic-Connect4","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/sshh12%2FGenetic-Connect4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshh12%2FGenetic-Connect4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshh12%2FGenetic-Connect4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshh12%2FGenetic-Connect4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sshh12","download_url":"https://codeload.github.com/sshh12/Genetic-Connect4/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247874182,"owners_count":21010605,"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":["connect-four","evolution-simulation","minimax"],"created_at":"2024-10-10T18:15:59.385Z","updated_at":"2025-04-08T15:45:09.842Z","avatar_url":"https://github.com/sshh12.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Genetic Connect4\n\nUsing evolution to evolve a minimax connect4 AI.\n\n## Dependencies\n* [NumPy](http://www.numpy.org/)\n\n## What\nAs a twist to the connect4 algorithms I've written earlier, this project uses\nthe basic principles of genetics and evolution to create the best minimax\nheuristic for playing connect4 given predefined features. First a generation\nof agents (Connect4 bots) with random DNA is created. A function\nthat calculates the fitness (how well each agent performs) is then used to\ndetermine the probability that an agent will produce an offspring. Then a\nsecond generation is created from the original agents along with some mutation.\nThe process repeats with each iteration improving the general performance\nof the population.\n\n## Usage\n\n#### Install\n1. ```git clone https://github.com/sshh12/Genetic-Connect4.git```\n2. ```pip install numpy```\n\n#### Running\n1. ```python main.py```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshh12%2Fgenetic-connect4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsshh12%2Fgenetic-connect4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshh12%2Fgenetic-connect4/lists"}