Skip to content
This repository was archived by the owner on Jul 8, 2023. It is now read-only.

Commit b12e5a5

Browse files
committed
Release 0.4.0
1 parent 9822075 commit b12e5a5

File tree

2 files changed

+57
-32
lines changed

2 files changed

+57
-32
lines changed

README.md

Lines changed: 56 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,59 @@ You can find it here: https://github.com/MahjongRepository/mahjong
1414

1515
For research purposes we built a simple bot to play riichi mahjong on tenhou.net server.
1616

17-
### 0.0.5 version
17+
### 0.4.0 version
1818

19-
It can reach a tempai and call a riichi. It doesn't know about dora, yaku, defence and etc.
20-
Only about tempai and riichi so far.
19+
Version with various improvements in hand building and melds calling.
2120

22-
This version had played 335 games (hanchans) and achieved only first dan (初段) on the tenhou.net so far
23-
(and lost it later, and achieved it again...).
21+
This version had played ~1000 games (hanchans) and achieved fourth dan (四段) a couple of times.
2422

25-
Rate was somewhere around R1350.
23+
Stable rank was a second dan (二段) and stable rate was ~R1600.
2624

2725
Stat:
2826

2927
| | Result |
3028
| --- | --- |
31-
| Average position | 2.78 |
32-
| Win rate | 20.73% |
33-
| Feed rate | 19.40% |
34-
| Riichi rate | 36.17% |
35-
| Call rate | 0% |
29+
| Average position | 2.53 |
30+
| Win rate | 19.21% |
31+
| Feed rate | 11.78% |
32+
| Riichi rate | 18.48% |
33+
| Call rate | 24.41% |
3634

37-
So, even with the current simple logic it can play and win.
35+
| Places | |
36+
| --- | --- |
37+
| First | 20.92% |
38+
| Second | 27.46% |
39+
| Third| 30.17% |
40+
| Fourth | 21.45% |
41+
| Bankruptcy | 6.19% |
42+
43+
The number of fourth places was decreased.
44+
45+
### 0.3.2 version
46+
47+
Version with various improvements.
48+
49+
This version had played 600 games (hanchans) and achieved fourth dan (四段) once.
50+
51+
Stable rank was a first dan (初段).
52+
53+
Stat:
54+
55+
| | Result |
56+
| --- | --- |
57+
| Average position | 2.53 |
58+
| Win rate | 19.97% |
59+
| Feed rate | 10.88% |
60+
| Riichi rate | 15.80% |
61+
| Call rate | 36.39% |
62+
63+
| Places | |
64+
| --- | --- |
65+
| First | 22.41% |
66+
| Second | 25.52% |
67+
| Third| 28.28% |
68+
| Fourth | 23.79% |
69+
| Bankruptcy | 4.48% |
3870

3971
### 0.2.5 version
4072

@@ -54,34 +86,27 @@ Stat:
5486
| Riichi rate | 15.64% |
5587
| Call rate | 34.89% |
5688

57-
For the next version I have a plan to improve win rate, probably bot should push with good hands more often.
58-
59-
### 0.3.2 version
89+
### 0.0.5 version
6090

61-
Version with various improvements.
91+
It can reach a tempai and call a riichi. It doesn't know about dora, yaku, defence and etc.
92+
Only about tempai and riichi so far.
6293

63-
This version had played 600 games (hanchans) and achieved fourth dan (四段).
94+
This version had played 335 games (hanchans) and achieved only first dan (初段) on the tenhou.net so far
95+
(and lost it later, and achieved it again...).
6496

65-
Rate was somewhere around R1700.
97+
Rate was somewhere around R1350.
6698

6799
Stat:
68100

69101
| | Result |
70102
| --- | --- |
71-
| Average position | 2.53 |
72-
| Win rate | 19.97% |
73-
| Feed rate | 10.88% |
74-
| Riichi rate | 15.80% |
75-
| Call rate | 36.39% |
76-
77-
| Places | |
78-
| --- | --- |
79-
| First | 22.41% |
80-
| Second | 25.52% |
81-
| Third| 28.28% |
82-
| Fourth | 23.79% |
83-
| Bankruptcy | 4.48% |
103+
| Average position | 2.78 |
104+
| Win rate | 20.73% |
105+
| Feed rate | 19.40% |
106+
| Riichi rate | 36.17% |
107+
| Call rate | 0% |
84108

109+
So, even with the current simple logic it can play and win.
85110

86111
# For developers
87112

project/game/ai/first_version/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828

2929
class ImplementationAI(InterfaceAI):
30-
version = '0.4.0-dev'
30+
version = '0.4.0'
3131

3232
agari = None
3333
shanten_calculator = None

0 commit comments

Comments
 (0)