Project / Robotics & AI
Projet / Robotique & IA
Robot
J4
A robotic arm that plays Connect Four. Combining mechanical design, computer vision and the Minimax algorithm into a physical intelligence.
Un bras robotique qui joue au Puissance 4. Alliance de conception mécanique, vision par ordinateur et algorithme Minimax en une intelligence physique.
Overview
Aperçu
A machine that
thinks and acts.
Une machine qui
pense et agit.
Robot J4 is not just a program. It's a physical presence at the table. When it's its turn, it looks at the board, thinks, and reaches for the grid. The whole loop: perception, decision, action. It all happens in the real world.
Robot J4 n'est pas juste un programme. C'est une présence physique à la table. Quand c'est son tour, il regarde le plateau, réfléchit, et tend le bras vers la grille. Toute la boucle : perception, décision, action. Tout se passe dans le monde réel.
At its core lives the Minimax algorithm, a strategy borrowed from game theory. J4 simulates future game states, weighs outcomes and picks the move that maximises its chances of winning, or minimises yours.
En son cœur vit l'algorithme Minimax, une stratégie empruntée à la théorie des jeux. J4 simule les états futurs du jeu, pèse les résultats possibles et choisit le coup qui maximise ses chances de victoire, ou minimise les vôtres.
Built as part of a high school engineering specialisation, the project won the Prix Génialissime at Concours Cgénial in 2025, then the CERN European Prize at EUCYS in Latvia.
Construit dans le cadre d'une spécialité d'ingénierie au lycée, le projet a remporté le Prix Génialissime au Concours Cgénial en 2025, puis le Prix européen du CERN à l'EUCYS en Lettonie.
How it works
Fonctionnement
Coin toss
Tirage au sort
A random draw determines who plays first: J4 or the human. The robot handles both opening and response strategies equally.
Un tirage aléatoire détermine qui joue en premier : J4 ou l'humain. Le robot gère aussi bien les stratégies d'ouverture que de réponse.
Visual perception
Perception visuelle
A camera continuously films the board. Computer vision processes the feed in real time to detect token positions and maintain an accurate board state.
Une caméra filme le plateau en continu. La vision par ordinateur traite le flux en temps réel pour détecter la position des jetons et maintenir un état précis du plateau.
Minimax decision
Décision Minimax
The algorithm explores the game tree up to a set depth. A custom heuristic evaluates each position, rewarding alignment, blocking threats and weighting centre control.
L'algorithme explore l'arbre de jeu jusqu'à une profondeur donnée. Une heuristique personnalisée évalue chaque position, en récompensant les alignements, en bloquant les menaces et en valorisant le contrôle du centre.
Physical execution
Exécution physique
The chosen column is sent via UART to the Arduino. J4 moves into position and drops the token into the grid with precision.
La colonne choisie est envoyée via UART à l'Arduino. J4 se positionne et dépose le jeton dans la grille avec précision.
Automatic turn detection
Détection automatique du tour
After the human plays, the camera detects the new token without any button press. The cycle continues until someone wins or the grid is full.
Après que l'humain joue, la caméra détecte le nouveau jeton sans qu'aucun bouton ne soit pressé. Le cycle continue jusqu'à ce que quelqu'un gagne ou que la grille soit pleine.
Stack
Stack technique
Architecture
Architecture
Key concepts
Concepts clés
Recognition
Distinctions
2025 / France
2025 / France
Concours Cgénial
Prix Génialissime, which sent the project to EUCYS. The leading French competition for high school science and engineering projects.
Prix Génialissime, qui a envoyé le projet à l'EUCYS. La principale compétition française de projets scientifiques et d'ingénierie pour lycéens.
Prix Génialissime2025 / Riga, Latvia
2025 / Riga, Lettonie
EUCYS
Selected to represent France at the European Union Contest for Young Scientists. Awarded the CERN European Prize for exceptional work in science and engineering.
Sélectionné pour représenter la France au Concours de l'Union européenne pour les jeunes scientifiques. Récompensé par le Prix européen du CERN pour un travail exceptionnel en science et ingénierie.
CERN European PrizePrix européen du CERN