Dataset Viewer
Auto-converted to Parquet Duplicate
schema_version
stringclasses
1 value
replay_tag
stringlengths
32
32
battle_type
stringclasses
2 values
game_mode
stringclasses
2 values
result
stringclasses
3 values
team_crowns
int16
0
3
opponent_crowns
int16
0
3
event_count
int32
1
180
warning_count
int32
0
0
payload_json
large_stringlengths
2.54k
87.3k
requested_player_tag
stringclasses
1 value
ranked_league
stringclasses
3 values
challenge_wins_after
int16
10
12
⌀
Clash-royale-replay-parquet.v1
9463a7757b5a4be4b5cabba8b4ce3077
pathOfLegend
Ranked
defeat
0
1
63
0
{"schema_version":"royaleapi-battle-replay.v1","source":{"replay_tag":"9463a7757b5a4be4b5cabba8b4ce3077","origin":"RoyaleAPI","format_probe_only":true,"anonymized":true},"battle":{"team":{"crowns":0,"players":[{"tag":"player-1","deck":[{"card_key":"wall-breakers-ev1","level":16},{"card_key":"skeleton-king","level":16},...
Ultimate Champion
null
Clash-royale-replay-parquet.v1
3afda24560464c67a775474e03d16ca6
pathOfLegend
Ranked
defeat
1
2
54
0
{"schema_version":"royaleapi-battle-replay.v1","source":{"replay_tag":"3afda24560464c67a775474e03d16ca6","origin":"RoyaleAPI","format_probe_only":true,"anonymized":true},"battle":{"team":{"crowns":1,"players":[{"tag":"player-1","deck":[{"card_key":"lumberjack-ev1","level":16},{"card_key":"mini-pekka-hero","level":16},{...
Ultimate Champion
null
Clash-royale-replay-parquet.v1
11a1950949ca45158b8cafbbd03934ed
trail
Grand Challenge
defeat
0
1
54
0
{"schema_version":"royaleapi-battle-replay.v1","source":{"replay_tag":"11a1950949ca45158b8cafbbd03934ed","origin":"RoyaleAPI","format_probe_only":true,"anonymized":true},"battle":{"team":{"crowns":0,"players":[{"tag":"player-1","deck":[{"card_key":"battle-ram-ev1","level":11},{"card_key":"electro-wizard-hero","level":1...
null
11
Clash-royale-replay-parquet.v1
a60fcf0bb7d74e659f4649cd586b056f
pathOfLegend
Ranked
defeat
0
1
66
0
{"schema_version":"royaleapi-battle-replay.v1","source":{"replay_tag":"a60fcf0bb7d74e659f4649cd586b056f","origin":"RoyaleAPI","format_probe_only":true,"anonymized":true},"battle":{"team":{"crowns":0,"players":[{"tag":"player-1","deck":[{"card_key":"giant-snowball-ev1","level":16},{"card_key":"berserker-hero","level":16...
Ultimate Champion
null
Clash-royale-replay-parquet.v1
7206bbf972de4830b1567acd5c673197
pathOfLegend
Ranked
defeat
0
1
62
0
{"schema_version":"royaleapi-battle-replay.v1","source":{"replay_tag":"7206bbf972de4830b1567acd5c673197","origin":"RoyaleAPI","format_probe_only":true,"anonymized":true},"battle":{"team":{"crowns":0,"players":[{"tag":"player-1","deck":[{"card_key":"goblin-giant-ev1","level":16},{"card_key":"mini-pekka-hero","level":16}...
Ultimate Champion
null
Clash-royale-replay-parquet.v1
0d91cb1441e9412990a1847692ede196
pathOfLegend
Ranked
defeat
0
2
53
0
"{\"schema_version\":\"royaleapi-battle-replay.v1\",\"source\":{\"replay_tag\":\"0d91cb1441e9412990a(...TRUNCATED)
Ultimate Champion
null
Clash-royale-replay-parquet.v1
e6395e58943b4f9db0848f6bf6be672e
pathOfLegend
Ranked
defeat
0
3
33
0
"{\"schema_version\":\"royaleapi-battle-replay.v1\",\"source\":{\"replay_tag\":\"e6395e58943b4f9db08(...TRUNCATED)
Ultimate Champion
null
Clash-royale-replay-parquet.v1
9c710567f19542a2aa2cf5ebb82e7975
pathOfLegend
Ranked
victory
1
0
52
0
"{\"schema_version\":\"royaleapi-battle-replay.v1\",\"source\":{\"replay_tag\":\"9c710567f19542a2aa2(...TRUNCATED)
Royal Champion
null
Clash-royale-replay-parquet.v1
3643464d6aa84420b3ccbedc6b54d50c
pathOfLegend
Ranked
victory
3
0
45
0
"{\"schema_version\":\"royaleapi-battle-replay.v1\",\"source\":{\"replay_tag\":\"3643464d6aa84420b3c(...TRUNCATED)
Ultimate Champion
null
Clash-royale-replay-parquet.v1
53290328500847d681047b725e26b3b2
pathOfLegend
Ranked
victory
1
0
98
0
"{\"schema_version\":\"royaleapi-battle-replay.v1\",\"source\":{\"replay_tag\":\"53290328500847d6810(...TRUNCATED)
Ultimate Champion
null
End of preview. Expand in Data Studio

IL_Replay_1115

简体中文

This anonymized Clash Royale replay dataset was frozen on November 15, 2026. It contains 156,160 1v1 replays and 10,976,839 card plays and ability activations from November 4 through November 15 (UTC). The dataset supports offline gameplay analysis and imitation learning research.

Coverage

Mode or group Replays
Ranked · Grand Champion 365
Ranked · Royal Champion 35,506
Ranked · Ultimate Champion 119,539
Grand Challenge · winner's 10th win 287
Grand Challenge · winner's 11th win 243
Grand Challenge · winner's 12th win 220
Total 156,160

The dataset includes 155,410 Ranked battles and 750 Grand Challenge battles. Both tables use the train split. When creating evaluation splits, group by replay_tag to keep both player perspectives and all actions from the same battle together.

Files and schema

The dataset structure follows VanguardX101/IL_Replay.

Path Contents
replays/part-*.parquet One row per battle. Includes the mode, result, crowns, event count, ranked league or challenge win number, and full payload_json.
actions/part-*.parquet One row per event. Join on replay_tag and use source_index to recover the order of the source markers within a replay.
manifest.json, SHA256SUMS Coverage, anonymization, validation and SHA-256 checksums for all 64 Parquet shards.
LICENSE Apache License 2.0 text for the original contributions described below.

The replay record preserves both players' decks and displayed card levels, tower troops and their levels, final tower hit points, crown counts, the result, replay-relative duration where available, and all recorded actions.

Actions use a 20 Hz clock.

Loading the data

Run the following from the local dataset directory.

import json
from datasets import load_dataset

replays = load_dataset("parquet", data_files="replays/*.parquet", split="train", streaming=True)
actions = load_dataset("parquet", data_files="actions/*.parquet", split="train", streaming=True)

row = next(iter(replays))
payload = json.loads(row["payload_json"])
assert payload["source"]["replay_tag"] == row["replay_tag"]
assert len(payload["events"]) == row["event_count"]

Adapting to FirstLight engines

FirstLight users need an adapter for their engine version. Check which fields the target version accepts and how it validates them. The original IL_Replay importer expects royaleapi-battle-actions.v1, whose fields and validation counts differ from those in this dataset.

  • Engine and resource versions. Compatibility was checked on a sample using client version code 160635007 and resource baseline 16.635.8-062a11e0. Check that the client and resources match the target runtime version and host architecture. Resolve card forms, tower troops, mode IDs and level caps using the target engine's catalogs.
  • Code and execution semantics. Use data_i to map team and opponent to engine sides. Check coordinate conversion, source action order, the meaning of 20 Hz ticks, the timing of input submission and action execution, and how the engine maps an ability source to a runtime object. Handle the card's deck form and its form at play separately.
  • Initialization and validation. Calibrate a candidate opening and random seed that the engine can replay. Verify executed actions, the result, crown counts and final tower hit points before exporting a training cache. Report missing fields and rejected replays in the target engine's validation format.

Anonymization and limitations

Replay IDs are random UUID4 values scoped to this release. Player labels player-1 and player-2 reset each match. Original identifiers, links, exact battle and collection times, raw HTML, source paths and per-replay source hashes were removed. Someone with the original action sequence may still be able to match the battle. The dataset contains discrete actions and final results. Original random seeds, opening hands, card cycles and continuous battle states are absent.

License and provenance

The original documentation and licensable compilation work are available under Apache License 2.0.

Downloads last month
498