Datasets:
game_id stringlengths 6 30 | move_number int32 1 150 | ply int32 1 300 | player stringclasses 2
values | move_san stringlengths 2 7 | piece stringclasses 6
values | from_square stringclasses 64
values | to_square stringclasses 64
values | is_capture bool 2
classes | is_check bool 2
classes | game_result stringclasses 3
values |
|---|---|---|---|---|---|---|---|---|---|---|
game_0 | 1 | 1 | white | b3 | pawn | b2 | b3 | false | false | 1/2-1/2 |
game_0 | 1 | 2 | black | Na6 | knight | b8 | a6 | false | false | 1/2-1/2 |
game_0 | 2 | 3 | white | c4 | pawn | c2 | c4 | false | false | 1/2-1/2 |
game_0 | 2 | 4 | black | g5 | pawn | g7 | g5 | false | false | 1/2-1/2 |
game_0 | 3 | 5 | white | c5 | pawn | c4 | c5 | false | false | 1/2-1/2 |
game_0 | 3 | 6 | black | Nxc5 | knight | a6 | c5 | true | false | 1/2-1/2 |
game_0 | 4 | 7 | white | a4 | pawn | a2 | a4 | false | false | 1/2-1/2 |
game_0 | 4 | 8 | black | b6 | pawn | b7 | b6 | false | false | 1/2-1/2 |
game_0 | 5 | 9 | white | a5 | pawn | a4 | a5 | false | false | 1/2-1/2 |
game_0 | 5 | 10 | black | b5 | pawn | b6 | b5 | false | false | 1/2-1/2 |
game_0 | 6 | 11 | white | f4 | pawn | f2 | f4 | false | false | 1/2-1/2 |
game_0 | 6 | 12 | black | e5 | pawn | e7 | e5 | false | false | 1/2-1/2 |
game_0 | 7 | 13 | white | b4 | pawn | b3 | b4 | false | false | 1/2-1/2 |
game_0 | 7 | 14 | black | h6 | pawn | h7 | h6 | false | false | 1/2-1/2 |
game_0 | 8 | 15 | white | g3 | pawn | g2 | g3 | false | false | 1/2-1/2 |
game_0 | 8 | 16 | black | a6 | pawn | a7 | a6 | false | false | 1/2-1/2 |
game_0 | 9 | 17 | white | Qc2 | queen | d1 | c2 | false | false | 1/2-1/2 |
game_0 | 9 | 18 | black | Nb3 | knight | c5 | b3 | false | false | 1/2-1/2 |
game_0 | 10 | 19 | white | Bg2 | bishop | f1 | g2 | false | false | 1/2-1/2 |
game_0 | 10 | 20 | black | Bxb4 | bishop | f8 | b4 | true | false | 1/2-1/2 |
game_0 | 11 | 21 | white | e3 | pawn | e2 | e3 | false | false | 1/2-1/2 |
game_0 | 11 | 22 | black | Qf6 | queen | d8 | f6 | false | false | 1/2-1/2 |
game_0 | 12 | 23 | white | Bxa8 | bishop | g2 | a8 | true | false | 1/2-1/2 |
game_0 | 12 | 24 | black | Be7 | bishop | b4 | e7 | false | false | 1/2-1/2 |
game_0 | 13 | 25 | white | Bb2 | bishop | c1 | b2 | false | false | 1/2-1/2 |
game_0 | 13 | 26 | black | Bc5 | bishop | e7 | c5 | false | false | 1/2-1/2 |
game_0 | 14 | 27 | white | Qh7 | queen | c2 | h7 | false | false | 1/2-1/2 |
game_0 | 14 | 28 | black | Qe6 | queen | f6 | e6 | false | false | 1/2-1/2 |
game_0 | 15 | 29 | white | Kd1 | king | e1 | d1 | false | false | 1/2-1/2 |
game_0 | 15 | 30 | black | Qf5 | queen | e6 | f5 | false | false | 1/2-1/2 |
game_0 | 16 | 31 | white | fxe5 | pawn | f4 | e5 | true | false | 1/2-1/2 |
game_0 | 16 | 32 | black | b4 | pawn | b5 | b4 | false | false | 1/2-1/2 |
game_0 | 17 | 33 | white | Bd4 | bishop | b2 | d4 | false | false | 1/2-1/2 |
game_0 | 17 | 34 | black | Bb6 | bishop | c5 | b6 | false | false | 1/2-1/2 |
game_0 | 18 | 35 | white | e4 | pawn | e3 | e4 | false | false | 1/2-1/2 |
game_0 | 18 | 36 | black | Rxh7 | rook | h8 | h7 | true | false | 1/2-1/2 |
game_0 | 19 | 37 | white | Bf2 | bishop | d4 | f2 | false | false | 1/2-1/2 |
game_0 | 19 | 38 | black | Bxf2 | bishop | b6 | f2 | true | false | 1/2-1/2 |
game_0 | 20 | 39 | white | Bb7 | bishop | a8 | b7 | false | false | 1/2-1/2 |
game_0 | 20 | 40 | black | Qxe4 | queen | f5 | e4 | true | false | 1/2-1/2 |
game_0 | 21 | 41 | white | Bxe4 | bishop | b7 | e4 | true | false | 1/2-1/2 |
game_0 | 21 | 42 | black | Nxa1 | knight | b3 | a1 | true | false | 1/2-1/2 |
game_0 | 22 | 43 | white | Ba8 | bishop | e4 | a8 | false | false | 1/2-1/2 |
game_0 | 22 | 44 | black | Bc5 | bishop | f2 | c5 | false | false | 1/2-1/2 |
game_0 | 23 | 45 | white | Nf3 | knight | g1 | f3 | false | false | 1/2-1/2 |
game_0 | 23 | 46 | black | Be3 | bishop | c5 | e3 | false | false | 1/2-1/2 |
game_0 | 24 | 47 | white | Rg1 | rook | h1 | g1 | false | false | 1/2-1/2 |
game_0 | 24 | 48 | black | Nb3 | knight | a1 | b3 | false | false | 1/2-1/2 |
game_0 | 25 | 49 | white | d4 | pawn | d2 | d4 | false | false | 1/2-1/2 |
game_0 | 25 | 50 | black | Nxd4 | knight | b3 | d4 | true | false | 1/2-1/2 |
game_0 | 26 | 51 | white | Bc6 | bishop | a8 | c6 | false | false | 1/2-1/2 |
game_0 | 26 | 52 | black | Bd2 | bishop | e3 | d2 | false | false | 1/2-1/2 |
game_0 | 27 | 53 | white | Nbxd2 | knight | b1 | d2 | true | false | 1/2-1/2 |
game_0 | 27 | 54 | black | Kd8 | king | e8 | d8 | false | false | 1/2-1/2 |
game_0 | 28 | 55 | white | Kc1 | king | d1 | c1 | false | false | 1/2-1/2 |
game_0 | 28 | 56 | black | Ne6 | knight | d4 | e6 | false | false | 1/2-1/2 |
game_0 | 29 | 57 | white | Bd5 | bishop | c6 | d5 | false | false | 1/2-1/2 |
game_0 | 29 | 58 | black | h5 | pawn | h6 | h5 | false | false | 1/2-1/2 |
game_0 | 30 | 59 | white | h3 | pawn | h2 | h3 | false | false | 1/2-1/2 |
game_0 | 30 | 60 | black | f6 | pawn | f7 | f6 | false | false | 1/2-1/2 |
game_0 | 31 | 61 | white | Kb1 | king | c1 | b1 | false | false | 1/2-1/2 |
game_0 | 31 | 62 | black | Rf7 | rook | h7 | f7 | false | false | 1/2-1/2 |
game_0 | 32 | 63 | white | Rc1 | rook | g1 | c1 | false | false | 1/2-1/2 |
game_0 | 32 | 64 | black | Rh7 | rook | f7 | h7 | false | false | 1/2-1/2 |
game_0 | 33 | 65 | white | Rh1 | rook | c1 | h1 | false | false | 1/2-1/2 |
game_0 | 33 | 66 | black | h4 | pawn | h5 | h4 | false | false | 1/2-1/2 |
game_0 | 34 | 67 | white | Bxe6 | bishop | d5 | e6 | true | false | 1/2-1/2 |
game_0 | 34 | 68 | black | c5 | pawn | c7 | c5 | false | false | 1/2-1/2 |
game_0 | 35 | 69 | white | Bf7 | bishop | e6 | f7 | false | false | 1/2-1/2 |
game_0 | 35 | 70 | black | hxg3 | pawn | h4 | g3 | true | false | 1/2-1/2 |
game_0 | 36 | 71 | white | Bh5 | bishop | f7 | h5 | false | false | 1/2-1/2 |
game_0 | 36 | 72 | black | Ke7 | king | d8 | e7 | false | false | 1/2-1/2 |
game_0 | 37 | 73 | white | Ng1 | knight | f3 | g1 | false | false | 1/2-1/2 |
game_0 | 37 | 74 | black | d5 | pawn | d7 | d5 | false | false | 1/2-1/2 |
game_0 | 38 | 75 | white | Nb3 | knight | d2 | b3 | false | false | 1/2-1/2 |
game_0 | 38 | 76 | black | Kd7 | king | e7 | d7 | false | false | 1/2-1/2 |
game_0 | 39 | 77 | white | Kb2 | king | b1 | b2 | false | false | 1/2-1/2 |
game_0 | 39 | 78 | black | Ke6 | king | d7 | e6 | false | false | 1/2-1/2 |
game_0 | 40 | 79 | white | Be8 | bishop | h5 | e8 | false | false | 1/2-1/2 |
game_0 | 40 | 80 | black | Bd7 | bishop | c8 | d7 | false | false | 1/2-1/2 |
game_0 | 41 | 81 | white | Ne2 | knight | g1 | e2 | false | false | 1/2-1/2 |
game_0 | 41 | 82 | black | Rh5 | rook | h7 | h5 | false | false | 1/2-1/2 |
game_0 | 42 | 83 | white | Nxg3 | knight | e2 | g3 | true | false | 1/2-1/2 |
game_0 | 42 | 84 | black | f5 | pawn | f6 | f5 | false | false | 1/2-1/2 |
game_0 | 43 | 85 | white | Rh2 | rook | h1 | h2 | false | false | 1/2-1/2 |
game_0 | 43 | 86 | black | Bb5 | bishop | d7 | b5 | false | false | 1/2-1/2 |
game_0 | 44 | 87 | white | Bf7+ | bishop | e8 | f7 | false | true | 1/2-1/2 |
game_0 | 44 | 88 | black | Kxf7 | king | e6 | f7 | true | false | 1/2-1/2 |
game_0 | 45 | 89 | white | Re2 | rook | h2 | e2 | false | false | 1/2-1/2 |
game_0 | 45 | 90 | black | Bxe2 | bishop | b5 | e2 | true | false | 1/2-1/2 |
game_0 | 46 | 91 | white | Nh1 | knight | g3 | h1 | false | false | 1/2-1/2 |
game_0 | 46 | 92 | black | Ke6 | king | f7 | e6 | false | false | 1/2-1/2 |
game_0 | 47 | 93 | white | Nc1 | knight | b3 | c1 | false | false | 1/2-1/2 |
game_0 | 47 | 94 | black | Bd3 | bishop | e2 | d3 | false | false | 1/2-1/2 |
game_0 | 48 | 95 | white | Nb3 | knight | c1 | b3 | false | false | 1/2-1/2 |
game_0 | 48 | 96 | black | Kf7 | king | e6 | f7 | false | false | 1/2-1/2 |
game_0 | 49 | 97 | white | Na1 | knight | b3 | a1 | false | false | 1/2-1/2 |
game_0 | 49 | 98 | black | Bb5 | bishop | d3 | b5 | false | false | 1/2-1/2 |
game_0 | 50 | 99 | white | Kb1 | king | b2 | b1 | false | false | 1/2-1/2 |
game_0 | 50 | 100 | black | Bd3+ | bishop | b5 | d3 | false | true | 1/2-1/2 |
Free Synthetic Chess Games (25M)
A synthetic dataset of 25,003,202 individual chess moves across 92,733 fully legal games, generated move-by-move with real chess-rules validation (every move is legal, every game is genuinely playable from start to finish, and every move is recorded in standard algebraic notation).
Important note on play quality: these games are fully legal but NOT master-level play — each move is chosen uniformly at random from the set of legal moves available at that position, not selected by a chess engine or drawn from human games. This makes the dataset well suited for move-legality checking, board-state encoding, position/move parsers, and engine or tooling test harnesses — not for learning strong chess strategy. As a result of random play, draws are common (insufficient material, repetition, and move-limit draws all occur naturally).
No real player games, PGN databases, or copyrighted game records were used — every game here was generated from scratch.
Schema
| Column | Type | Description |
|---|---|---|
game_id |
string | Unique identifier for the game this move belongs to |
move_number |
int | Full-move number (increments after each pair of White/Black moves) |
ply |
int | Half-move index within the game (1 = White's first move, 2 = Black's first move, ...) |
player |
string | Which side made the move — white or black |
move_san |
string | The move in Standard Algebraic Notation (e.g. Nf3, exd5, O-O) |
piece |
string | Piece type that moved — pawn, knight, bishop, rook, queen, or king |
from_square |
string | Origin square (e.g. e2) |
to_square |
string | Destination square (e.g. e4) |
is_capture |
bool | Whether the move captured an opposing piece |
is_check |
bool | Whether the move put the opposing king in check |
game_result |
string | Final result of the game this row belongs to — 1-0, 0-1, or 1/2-1/2 |
Format
Single Parquet file, Snappy-compressed. One row per half-move (ply), so each game spans multiple consecutive rows sharing the same game_id.
Quick start
import pandas as pd
df = pd.read_parquet("chess_games_25M.parquet")
# Reconstruct one game's move sequence
game = df[df["game_id"] == df["game_id"].iloc[0]].sort_values("ply")
print(game[["ply", "player", "move_san"]])
# Or with duckdb for larger-than-memory queries
import duckdb
duckdb.sql("SELECT game_result, COUNT(DISTINCT game_id) FROM 'chess_games_25M.parquet' GROUP BY game_result")
# Or with the datasets library
from datasets import load_dataset
ds = load_dataset("ziadatalabs/FreeSyntheticChessGames25M")
Notes
- Games are generated with uniform-random legal-move selection, not engine or human play — see the play-quality note above before using this for anything strategy-related.
- Every move is validated for legality at generation time, so full games replay cleanly from the
move_sansequence. - Draws are more frequent here than in typical human or engine games, which is an honest consequence of random play (not a data quality issue).
- This dataset is part of a growing collection of free synthetic datasets across security, finance, healthcare, retail, geospatial, and other domains.
License & Usage
Licensed under CC BY-NC 4.0 (Creative Commons Attribution-NonCommercial 4.0). Free to use for personal, research, and educational purposes with attribution. Not licensed for commercial use.
Published by Zia Data Labs. More free synthetic datasets at huggingface.co/ziadatalabs.
Want more free datasets? Hit the ❤️ and follow. And we take requests — tell us what synthetic data you need, and we'll build it.
Contact: zia.data.team@protonmail.com
- Downloads last month
- 48