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

Score logs should consider seat wind tiebreaker #38

Closed
0xrgb opened this issue Sep 22, 2017 · 2 comments
Closed

Score logs should consider seat wind tiebreaker #38

0xrgb opened this issue Sep 22, 2017 · 2 comments
Labels

Comments

@0xrgb
Copy link
Contributor

0xrgb commented Sep 22, 2017

From http://arcturus.su/wiki/Tenhou.net_rules

At the end of the game, if there is a tie, the tie is broken in favor of the person having the earlier dealership.
「終了時に同点の場合は東1局の風順で順位を決定」

It means that if you are oya in 東1 (East 1), you will always win when score is tie. (東>南>西>北)

Bot logs scores when each round is started, such as [A (30,300), B (24,900), C (22,900), D (21,900)]. It sorts players by scores. But when score is even (eg. 東1), it sorts players by player numbers. (0-3)

For consistency, it should sort players as,

  1. Score
  2. Place when East 1 started
@Nihisil Nihisil added the bug label Sep 22, 2017
@Nihisil
Copy link
Contributor

Nihisil commented Sep 22, 2017

Thanks for the report! It will be fixed in the next a couple of days

@Nihisil
Copy link
Contributor

Nihisil commented Sep 30, 2017

It was fixed in v0.3.1

@Nihisil Nihisil closed this as completed Sep 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants