Connect 4 Trainer
Training Tools
Difficulty
10
Performance Comparison
Player Settings
Player Color
Theme
Sound
Colorblind Mode
Language
About Connect 4 Trainer
Welcome to the Connect 4 Trainer, brought to you by Appmogged.
Connect 4 Trainer is a browser-first training app for studying Connect 4 openings, evaluating moves, and practicing against a solver-driven opponent.
Exact solve work runs on the end user's device in WebAssembly, and solved positions are cached in the browser with IndexedDB for reuse.
How to Play
- Two players alternate dropping discs into the seven columns of the board.
- Discs fall to the lowest open space in that column.
- The first player to connect four discs horizontally, vertically, or diagonally wins.
- If the board fills without a connect four, the game ends in a draw.
Training Tools
- Best Move: shows green hint discs in the strongest solver-backed columns for the current position.
- Move Scores: shows the shifted solver score for each playable column above the board.
- Performance Comparison: compares the running average quality of red and yellow moves over the current game.
Attribution
This project builds on two upstream solver efforts:
- Pascal Pons' original Connect 4 solver work
- Benjamin Rall's Rust/WASM solver implementation
- Greece background: Photo by Maksim Romashkin
- Grease background: Photo by Darya Sannikova
Links
Dev Mode
| Metric | Today | Lifetime |
|---|