{"id":50937821,"url":"https://github.com/bcorfman/pgx-connectfour","last_synced_at":"2026-06-17T11:02:51.313Z","repository":{"id":242984392,"uuid":"811124945","full_name":"bcorfman/pgx-connectfour","owner":"bcorfman","description":"PGX - MCTX - JAX ConnectFour example converted to use a browser interface instead of a Jupyter notebook","archived":false,"fork":false,"pushed_at":"2024-06-28T05:46:35.000Z","size":109,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-29T04:49:45.848Z","etag":null,"topics":["connect-four","jax","mcts","mctx","monte-carlo-tree-search","nicegui","pgx","python","rye","svg"],"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/bcorfman.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":"2024-06-06T01:38:51.000Z","updated_at":"2024-06-28T05:46:38.000Z","dependencies_parsed_at":"2024-06-28T04:59:48.926Z","dependency_job_id":null,"html_url":"https://github.com/bcorfman/pgx-connectfour","commit_stats":null,"previous_names":["bcorfman/pgx-classicenvs","bcorfman/pgx-connectfour"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bcorfman/pgx-connectfour","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcorfman%2Fpgx-connectfour","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcorfman%2Fpgx-connectfour/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcorfman%2Fpgx-connectfour/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcorfman%2Fpgx-connectfour/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bcorfman","download_url":"https://codeload.github.com/bcorfman/pgx-connectfour/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bcorfman%2Fpgx-connectfour/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34445186,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["connect-four","jax","mcts","mctx","monte-carlo-tree-search","nicegui","pgx","python","rye","svg"],"created_at":"2026-06-17T11:02:47.297Z","updated_at":"2026-06-17T11:02:51.301Z","avatar_url":"https://github.com/bcorfman.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PgxConnectFour\n\nA version of this example game that uses Google's [PGX](https://github.com/sotetsuk/pgx) and [Monte-Carlo Tree Search in JAX](https://github.com/google-deepmind/mctx) to play Connect Four. The [original Jupyter notebook version](https://colab.research.google.com/github/sotetsuk/pgx/blob/main/colab/mcts_connect_four.ipynb#scrollTo=aPYOMRQZamsk) had stopped working over time. I reimplemented it as a real browser-based game using [NiceGUI](https://nicegui.io/). \n\n\u003cimg src=\"res/c4.png\" style=\"width: 500px\"\u003e\n\n## To run the game\n* At a command prompt, type `make install` to install the [Rye dependency manager](https://rye.astral.sh/) on your system (if needed). After Rye is installed, it will download the supporting Python libraries inside a virtual environment.\n* Once the install has completed, type `make run` to launch the game.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbcorfman%2Fpgx-connectfour","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbcorfman%2Fpgx-connectfour","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbcorfman%2Fpgx-connectfour/lists"}