File size: 2,093 Bytes
42cb0df
ff4b4f3
 
 
 
42cb0df
 
 
 
ff4b4f3
 
 
42cb0df
 
ff4b4f3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1d95c87
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
license: cc-by-nc-4.0
task_categories:
- reinforcement-learning
- tabular-classification
language:
- en
tags:
- chess
- opening
- statistics
- game-ai
size_categories:
- 100K<n<1M
pretty_name: ChessMate Opening Statistics v1.0
---

# ♟️ ChessMate AI - Opening Statistics Database (v1.0)

<div align="center">

![Dataset Banner](https://capsule-render.vercel.app/api?type=waving&color=0:2c3e50,100:3498db&height=180&section=header&text=Opening%20Database%20v1&fontSize=50&animation=fadeIn&fontAlignY=35&desc=Optimized%20SQLite%20Stats%20for%20Chess%20Engines)

[![License: CC BY-NC 4.0](https://img.shields.io/badge/License-CC%20BY--NC%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc/4.0/)
![Format](https://img.shields.io/badge/Format-SQLite3-green)
![Size](https://img.shields.io/badge/Size-30MB+-orange)

[**Live Explorer**](https://chessmate-engine.onrender.com) • [**GitHub Repository**](https://github.com/Rafsan1711/Chessmate-Engine)

</div>

## 📖 Dataset Description

This dataset is the initial version of the ChessMate AI opening statistics. It contains aggregated opening statistics derived from over **100,000 Lichess games**. This smaller dataset was used for the initial proof-of-concept and backend memory optimization (v1.5).

- **Source:** Lichess Standard Rated Games (Feb 2016).
- **Format:** SQLite Database (`.db`).
- **Optimization:** Indexed by FEN for fast lookup.

## 📂 File Structure

The main file is `chess_stats.db`.

### Table: `positions`

| Column | Type | Description |
|--------|------|-------------|
| `fen` | TEXT (PK) | The board position in FEN format. |
| `stats` | TEXT | JSON string containing move counts and win rates. |

## ⚠️ License

This dataset is licensed under **CC BY-NC 4.0** (Attribution-NonCommercial 4.0 International).

**You are free to:**
- Use this data for research, education, and personal projects.

**You may NOT:**
- Sell this data or use it in a commercial product without permission.

---
<div align="center">
  <p>Curated by <a href="https://github.com/GambitFlow">GambitFlow</a></p>
</div>