yuanoook commited on
Commit
061ed1d
·
verified ·
1 Parent(s): 340afb8

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +97 -0
README.md ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ task_categories:
4
+ - zero-shot-classification
5
+ language:
6
+ - en
7
+ tags:
8
+ - not-for-all-audiences
9
+ pretty_name: Game 2048 Board-Move Pairs
10
+ size_categories:
11
+ - 100M<n<1B
12
+ ---
13
+
14
+ # Game 2048 Dataset
15
+
16
+ This dataset card aims to be a collection of Game 2048 Board-Move Pairs, currently 1570 games collected.
17
+
18
+ ## Dataset Details
19
+
20
+ ### Dataset Description
21
+
22
+ #### Games 1570
23
+
24
+ Why I created this dataset?
25
+
26
+ I want to build neural network to play game 2048, for me to learn basic AI. Found out that it takes forever to get the data I wanted.
27
+
28
+ It takes 7 mins to 1 hour to generate/play 1 game, with mac m1 chip by the algo provided by nneonneo/2048-ai .
29
+ The 1570 games takes more than 1 week, with 2 m1 mackbook air, and 1 intel i5 macbook air.
30
+
31
+ #### Highest record - 3,766,860
32
+
33
+ the /records folder contains the highest score (3,766,860) I've ever seen on the internet.
34
+
35
+ Played by UNDO and switching different strategies with mannual move.
36
+
37
+
38
+ ### Dataset Sources [optional]
39
+
40
+ - **Repository:** [https://github.com/yuanoook/2048AI](https://github.com/yuanoook/2048AI/tree/trim)
41
+
42
+ ## Data Structure
43
+
44
+ ### Games 1570 Data Structure
45
+
46
+ ```
47
+ 0, 0, 0, 0
48
+ 0, 0, 0, 0
49
+ 0, 2, 0, 0
50
+ 0, 0, 4, 0
51
+ 1, 0, up, ↑
52
+
53
+ ...
54
+
55
+ 16, 64, 2048, 8192
56
+ 4, 16, 512, 4096
57
+ 0, 0, 4, 16
58
+ 2, 2, 4, 2
59
+ 6805, 165680, right, →
60
+
61
+ ...
62
+
63
+ 2, 4, 2, 4
64
+ 8, 64, 16, 2
65
+ 128, 512, 2048, 8192
66
+ 256, 1024, 4096, 16384
67
+ 14943, 387388, _, _
68
+ ```
69
+
70
+ For each game, the csv looks like this.
71
+
72
+ Every 4 rows to show the board,
73
+
74
+ following 1 row to show the ```index, score, move, arrow```.
75
+
76
+ The last row is the end of the game, no move and no arrow, _ as placeholder.
77
+
78
+ I found it's the most understandable way for humans, probably not the most efficient for machine, which I don't care.
79
+
80
+ ### High Record Games Data Structure
81
+
82
+ ```
83
+ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 2, up, 0
84
+
85
+ ...
86
+
87
+ 25508, 32, 32, 4, 2, 512, 256, 2, 0, 16384, 2048, 0, 0, 32768, 4096, 0, 2, up, 733188
88
+
89
+ ...
90
+
91
+ 114499, 8, 2, 2, 2, 512, 256, 32, 4, 32768, 16384, 1024, 4, 131072, 65536, 4096, 16, down, 3766860
92
+ ```
93
+
94
+ High Record Games data is splited into files by 100 board-move pairs in each. Every row is ```index, board, move, score```
95
+
96
+
97
+