I build an "AI" in C++ and it was able to find a checkmate
This is the game:
-
Nf3 Nf6
-
Ne5 Ne4
-
f4 f6
-
Ng4 d5
-
Ne3 d4
-
Nc4 b5
-
Na5 Bg4
-
Nb3 Qd5
-
d3 Nd6
-
Nd2 Nc6
-
h4 Rd8
-
a3 a5
-
Rh2 a4
-
e4 Qe6
-
Nd4 Nd4
-
Be2 Be2
-
f5 Nf5
-
f5 Qe3
-
Ne4 Qg1+
-
Kd2 Qd1+
-
Kc3 Qc2+
-
Kb4 Qb3+
-
Kc5 Rd5#
my code is 650 lines and it includes printing a chessboard matrix
Posted May 6, 2026, 9:39 PM UTC
10