Kindly open the website on a laptop or desktop, as the mobile version is currently under construction.

Connect 4: Battle the Bots! (*WIP)
Can a neural network learn to play Connect 4 at expert level? Inspired by DeepMind's AlphaGo, this project explores that question by combining classical game theory with modern deep learning. We're generating a training dataset of 100,000+ board positions using Monte Carlo Tree Search (MCTS) as a synthetic "expert player," then training two competing architectures—a Convolutional Neural Network and a Transformer—to predict optimal moves. The challenge isn't just building models that can classify board states, but engineering a full production system: dockerizing the models, deploying them on AWS, and building an interactive web interface where anyone can challenge the bots. This is an ongoing exploration of how different neural architectures "see" board games, and a hands-on journey in taking ML from notebook to production.
Mohar Chaudhuri
1/26/20261 min read
Inspired by AlphaGo, this project trains neural networks to play Connect 4 by learning from Monte Carlo Tree Search.
Generated 100K+ training positions via MCTS self-play
Built competing CNN and Transformer architectures
Currently: model tuning, hyperparameter search, fighting overfitting
Progress so far:
What's next:
Finalize best architecture
Deploy to AWS with Docker
Build interactive web interface for humans to challenge the bots
The training loop is running. Results TBD. Updates coming soon.
Connect with me!
© 2025. All rights reserved.
Whether you're a seasoned data scientist, a fellow learner on this journey, or someone curious about what data can reveal, I'd be delighted to connect. Please drop me a message.