escampe-dataset / README.md
Bluefir's picture
Upload dataset
9ae3403 verified
|
Raw
History Blame Contribute Delete
7.2 kB
---
license: mit
task_categories:
- tabular-regression
tags:
- escampe
- board-game
- ai
- minimax
- alpha-beta
- game-playing
size_categories:
- 1M<n<10M
configs:
- config_name: all
data_files:
- split: train
path: all/train-*
- config_name: dataset_1m_d6
data_files:
- split: train
path: dataset_1m_d6/train-*
- config_name: dataset_1m_d6_parra
data_files:
- split: train
path: dataset_1m_d6_parra/train-*
- config_name: dataset_1m_d7
data_files:
- split: train
path: dataset_1m_d7/train-*
- config_name: dataset_50k_d6
data_files:
- split: train
path: dataset_50k_d6/train-*
- config_name: training_data
data_files:
- split: train
path: training_data/train-*
- config_name: training_data_simplex
data_files:
- split: train
path: training_data_simplex/train-*
dataset_info:
- config_name: all
features:
- name: score
dtype: float64
- name: white_paladins
dtype: int64
- name: black_paladins
dtype: int64
- name: white_unicorn
dtype: int64
- name: required_band
dtype: int64
- name: white_to_move
dtype: bool
- name: black_unicorn
dtype: int64
splits:
- name: train
num_bytes: 149188704
num_examples: 3100025
download_size: 50496841
dataset_size: 149188704
- config_name: dataset_1m_d6
features:
- name: score
dtype: float64
- name: white_paladins
dtype: int64
- name: black_paladins
dtype: int64
- name: white_unicorn
dtype: int64
- name: required_band
dtype: int64
- name: white_to_move
dtype: bool
- name: black_unicorn
dtype: int64
splits:
- name: train
num_bytes: 48125000
num_examples: 1000000
download_size: 15919907
dataset_size: 48125000
- config_name: dataset_1m_d6_parra
features:
- name: score
dtype: float64
- name: white_paladins
dtype: int64
- name: black_paladins
dtype: int64
- name: white_unicorn
dtype: int64
- name: required_band
dtype: int64
- name: white_to_move
dtype: bool
- name: black_unicorn
dtype: int64
splits:
- name: train
num_bytes: 48125000
num_examples: 1000000
download_size: 16442998
dataset_size: 48125000
- config_name: dataset_1m_d7
features:
- name: score
dtype: float64
- name: white_paladins
dtype: int64
- name: black_paladins
dtype: int64
- name: white_unicorn
dtype: int64
- name: required_band
dtype: int64
- name: white_to_move
dtype: bool
- name: black_unicorn
dtype: int64
splits:
- name: train
num_bytes: 48125000
num_examples: 1000000
download_size: 16495191
dataset_size: 48125000
- config_name: dataset_50k_d6
features:
- name: score
dtype: float64
- name: white_paladins
dtype: int64
- name: black_paladins
dtype: int64
- name: white_unicorn
dtype: int64
- name: required_band
dtype: int64
- name: white_to_move
dtype: bool
- name: black_unicorn
dtype: int64
splits:
- name: train
num_bytes: 2406250
num_examples: 50000
download_size: 797859
dataset_size: 2406250
- config_name: training_data
features:
- name: score
dtype: float64
- name: white_paladins
dtype: int64
- name: black_paladins
dtype: int64
- name: white_unicorn
dtype: int64
- name: required_band
dtype: int64
- name: white_to_move
dtype: bool
- name: black_unicorn
dtype: int64
splits:
- name: train
num_bytes: 1204
num_examples: 25
download_size: 3740
dataset_size: 1204
- config_name: training_data_simplex
features:
- name: score
dtype: float64
- name: white_paladins
dtype: int64
- name: black_paladins
dtype: int64
- name: white_unicorn
dtype: int64
- name: required_band
dtype: int64
- name: white_to_move
dtype: bool
- name: black_unicorn
dtype: int64
splits:
- name: train
num_bytes: 2406250
num_examples: 50000
download_size: 840984
dataset_size: 2406250
---
# Escampe Game State Evaluation Dataset
## Dataset Summary
This dataset contains millions of evaluated game states for the board game **Escampe**. It is designed to train Deep Neural Networks (such as the `BandDPER` architecture) to accurately predict the heuristic value of any given board state.
Escampe is a deterministic, perfect-information 6x6 board game played with Unicorns and Paladins. The dataset was procedurally generated using an Alpha-Beta search engine in Java that plays games of Escampe against itself, taking random opening positions and semi-random moves to guarantee high diversity in board states. Every position in this dataset has been deeply evaluated by the minimax engine using various heuristic configurations (Default, SPSA, Bayes, and Simplex) to assign a continuous score.
## Dataset Structure
### Data Fields
Each JSON entry corresponds to a specific board state from a game in progress. The fields include:
- `white_paladins` (int): A 64-bit integer bitboard mask representing the positions of White's Paladins.
- `black_paladins` (int): A 64-bit integer bitboard mask representing the positions of Black's Paladins.
- `white_unicorn` (int): The 0-35 index representing the square of White's Unicorn.
- `black_unicorn` (int): The 0-35 index representing the square of Black's Unicorn.
- `required_band` (int): An integer (1, 2, or 3) representing the required liseret/band the current player must start their move on. A `0` means no band constraint (free move).
- `white_to_move` (bool): `true` if it is White's turn to move, `false` otherwise.
- `score` (float): The target evaluation score normalized to the range `[-1.0, 1.0]`. The score is relative to the **current player to move**. A score of `+1.0` indicates a guaranteed win (mate), while `-1.0` indicates a guaranteed loss.
### Data Instances
```json
{
"white_paladins": 8913048,
"black_paladins": 40298872832,
"white_unicorn": 14,
"black_unicorn": 34,
"required_band": 2,
"white_to_move": true,
"score": -1.0
}
```
## Dataset Creation
The dataset was generated using a high-performance, multi-threaded Java minimax engine utilizing Alpha-Beta pruning.
- **Diversity**: Random openings are selected from a predefined pool of Escampe openings. Games proceed using a mix of best-moves and random moves (70% exploration) to ensure the network is exposed to sub-optimal, chaotic, and end-game positions.
- **Normalization**: The raw heuristic scores (which scale up to a theoretical mate score of 100,000) are clamped and normalized to `[-1.0, 1.0]` before being written to the JSON file.
## Considerations for Using the Data
- The `score` field is strictly evaluated from the **perspective of the player to move**. If you are training a model to output an absolute score (e.g., White's advantage), you must invert the score when `white_to_move` is `false`.
- Escampe relies heavily on spatial constraints (the required band) and blocking logic. It is highly recommended to translate the bitboards into 6x6 spatial tensors to expose the orthogonal paths and band geometries to your neural network.
## Citation
If you use this dataset, please consider linking back to this repository and crediting the Escampe AI project.