Comments (3)
This example shows that there should be some internel wrong assumption made by me. Could you please provide the tenhou.net paifu link, to visualize that what is really happening during the game?
from auto-white-reimu.
http://tenhou.net/3/?log=2019010115gm-00a9-0000-21b95613
http://tenhou.net/3/?log=2019010202gm-00a9-0000-3142addc
from auto-white-reimu.
I've not found anything useful in visualization, but for mesages below:
<GO type="169" lobby="0" />
<UN n0="%E3%81%84%E3%81%AA%E3%81%97%E3%82%93%E3%80%82" n1="%42%41%52%34" n2="%E3%81%82%E3%81%A1%E3%82%87%E3%83%BC" n3="%E6%81%A9%E7%94%B0%E5%B8%8C" dan="17,16,16,17" rate="2197.33,2149.89,2024.85,2159.75" sx="M,M,M,F" />
<TAIKYOKU oya="0" />
<BYE who="0" />
<UN n0="%E3%81%84%E3%81%AA%E3%81%97%E3%82%93%E3%80%82" />
<INIT seed="0,0,0,3,0,8" ten="250,250,250,250" oya="0" hai0="103,107,95,48,32,126,108,101,100,14,135,9,61" hai1="5,71,113,53,55,22,36,125,105,132,128,79,52" hai2="81,121,6,35,70,18,111,83,110,87,93,29,34" hai3="66,20,91,92,94,104,123,33,21,96,57,45,43" />
You could see that player 0 has disconnected and immediately reconnected before the first name (maybe some network issue)
The issue is, when treat event before INIT
as game meta settings I assumed that each element will only appeared once, which is wrong since above UN
appeared twice.
auto-white-reimu/mahjong/record/reader.py
Line 116 in 90f0020
Here, when reducing multiple elements, this will replace the old attributes when same element re-appeared. add some condition to merge may solve this issue.
from auto-white-reimu.
Related Issues (11)
- Misidentifying players with the same ID in one game HOT 1
- paifu analysis plan HOT 7
- Add explanation to the TenhouRecord.game_list.events HOT 3
- fix 0s 0p representation and check 0s 0p in demo 'Monte Carlo estimation' HOT 5
- Error in from_file function HOT 3
- fix over-estimated seven pair win rate HOT 1
- add dict record parse for TenhouEvent HOT 2
- paifu analyze demo: infer ranking based on score HOT 4
- estimate win rate (pure theoretical by math computations) HOT 4
- Notes on learning how to contribute to this project HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto-white-reimu.