{"id":28228418,"url":"https://github.com/thomaslemontagner/connect4game_rl","last_synced_at":"2026-04-29T08:34:24.811Z","repository":{"id":283833346,"uuid":"583033712","full_name":"ThomasLeMontagner/Connect4Game_RL","owner":"ThomasLeMontagner","description":"A Connect4 game with Reinforcement Learning","archived":false,"fork":false,"pushed_at":"2025-11-28T06:19:28.000Z","size":82,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-30T16:31:11.126Z","etag":null,"topics":["game","minimax-algorithm","reinforcement-learning"],"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/ThomasLeMontagner.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-12-28T15:09:06.000Z","updated_at":"2025-11-28T06:19:31.000Z","dependencies_parsed_at":"2025-03-22T13:40:56.716Z","dependency_job_id":"534a7b48-eae5-4bca-a8e5-35b17376bf9c","html_url":"https://github.com/ThomasLeMontagner/Connect4Game_RL","commit_stats":null,"previous_names":["thomaslemontagner/connect4game_rl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ThomasLeMontagner/Connect4Game_RL","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasLeMontagner%2FConnect4Game_RL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasLeMontagner%2FConnect4Game_RL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasLeMontagner%2FConnect4Game_RL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasLeMontagner%2FConnect4Game_RL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThomasLeMontagner","download_url":"https://codeload.github.com/ThomasLeMontagner/Connect4Game_RL/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThomasLeMontagner%2FConnect4Game_RL/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32417936,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["game","minimax-algorithm","reinforcement-learning"],"created_at":"2025-05-18T14:09:59.282Z","updated_at":"2026-04-29T08:34:24.794Z","avatar_url":"https://github.com/ThomasLeMontagner.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Connect4Game with Reinforcement Learning\n\nConnect Four is a two-player strategy game in which players take turns dropping colored discs from the top into a grid. The goal is to get four of your discs in a row (horizontally, vertically, or diagonally) before your opponent does.\n\u003cbr\u003e\n![image](https://user-images.githubusercontent.com/56484383/210179364-32c988d8-b767-4574-a203-31294c142025.png) \u003cbr\u003e\n*source image: https://www.101computing.net/connect4-challenge/*\n\n\nThis `README.md` file provides a brief description of the Connect4 game, as well as instructions for installing the required packages, running the game from the command line, playing against an AI opponent, and starting the web API.\n\n\n## Requirements\n\n- Python 3.6 or later\n\n## Installation\n\nTo install the required packages, run:\n\n```bash\npip install -r requirements.txt\n```\n## Usage\n\nTo start a game run game.py\n```\npython game.py\n```\nYou will be able to choose different modes: \u003cbr\u003e\n  * '0' for computer against computer\n  * '1' for 1 human player against computer\n  * '2' for 2 humans against each other \u003cbr\u003e\n  \nThen the board is displayed in the terminal.\n\n## Computer Agents\n### Minimax\nA computer agent using the minimax algorithm to choose the best action.\n\n### Q-learning\nA computer agent using q-learning apporach to choose the best action.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomaslemontagner%2Fconnect4game_rl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomaslemontagner%2Fconnect4game_rl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomaslemontagner%2Fconnect4game_rl/lists"}