Commit Four



Overview
Play four in a row against an AI by clicking your own GitHub contribution graph. Unofficial; not affiliated with GitHub.
Commit Four turns the contribution graph on your own GitHub profile into a four-in-a-row board, like Connect 4, and lets you play against an AI right there. Click any column of the board on your profile and your piece drops in instantly. The AI answers within a couple of seconds. Each piece becomes a few real (empty, backdated) commits in a separate board repository you own, so the squares really appear on your graph: your pieces in the darkest green, the AI's in a lighter green. Choose Casual, Hard or Perfect. Perfect never gives away a won or drawn position. Games are drawn in a past year with no other activity on your graph (picked for you), so your recent activity keeps its look and can't change the board's colors. Finished games stay on the graph as a trophy wall, or erase them all with Start over in Settings. Squares show as "pending" until GitHub's graph catches up, and the game keeps going even when GitHub is slow. How to use it: 1. Click the extension icon and choose "Sign in with GitHub", then enter the code GitHub shows you. You never need to give it access to any organization. 2. Click "Set up my board": a board repository is created in your account (or an existing one is reused). 3. Open your profile and click "New game" in the Commit Four panel under your graph. Privacy: everything stays in your browser. The extension only works on your own profile, only talks to GitHub and (if you choose) a helper running on your own computer, collects no analytics, and never writes to any repo except your board repo. Unofficial project, not affiliated with or endorsed by GitHub. Connect 4 is a trademark of Hasbro; Commit Four is not affiliated with Hasbro. Source, issues and support: https://github.com/NickHarder/commit-four-engine
0 out of 5No ratings
Details
- Version0.2.2
- UpdatedOctober 10, 2026
- Offered byCommit Four
- Size70.13KiB
- LanguagesEnglish (United States)
- Developer
Email
commitfour.dev@gmail.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
Commit Four has disclosed the following information regarding the collection and usage of your data. More detailed information can be found in the developer's privacy policy.
Commit Four handles the following:
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes
Support
For help with questions, suggestions, or problems, visit the developer's support site