(11C) Mahjong scores
|
11-16-2018, 05:26 PM
(This post was last modified: 11-17-2018 12:40 PM by Albert Chan.)
Post: #4
|
|||
|
|||
RE: (11C) Mahjong scores
(11-15-2018 09:47 PM)Rogier Wrote: ... Now for the whole table: Above cross exchange of points (from everyone) looks complicated. Maybe it can be simplified a bit by removing EAST calculation. players = {SOUTH, WEST, NORTH} points = {20, 320, 64} let c = sum(points) + 2*(EAST point) = 20 + 320 + 64 + 2*8 = 420 We use c to handle cross exchanges. Since WEST won, exchange = {c, 0, c} scores = 4*points - exchange = 4 * {20, 320, 64} - {420, 0, 420} = {-340, +1280, -164} EAST score = -sum(scores) = -(-340 + 1280 - 164) = -776 Can you provide an example where EAST win ? My guess is, this should work (EAST win 6X his points): scores = 3*points - c |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(11C) Mahjong scores - Rogier - 11-14-2018, 08:47 PM
RE: (11C) Mahjong scores - Albert Chan - 11-15-2018, 03:24 PM
RE: (11C) Mahjong scores - Rogier - 11-15-2018, 09:47 PM
RE: (11C) Mahjong scores - Albert Chan - 11-16-2018 05:26 PM
RE: (11C) Mahjong scores - Rogier - 11-16-2018, 10:26 PM
RE: (11C) Mahjong scores - Albert Chan - 11-17-2018, 12:01 AM
RE: (11C) Mahjong scores - Rogier - 11-17-2018, 10:10 AM
|
User(s) browsing this thread: 1 Guest(s)