Mahjong Tournament - program for auto-seating players in mahjong tournaments using Swiss-Dutch seating system. According to the system, players with same results as possible take seats on each table. Besides repeated games between the same playes are excluded.
The first tour seating may be as random and with some pre-defined way (i.e. by rating).
While starting the program requests some basic parameters - the number of players (must be a multiple to four, not less then 12), the number of tours (from 2 to 20). Test-mode flag allows to make some "virtual" tours for testing and checking the program.
The main window of the Mahjong Tournament.
The first column containes all the names of the players in the tournament. You can enter them directly in the program or import the list from the CSV-file. Next column containes numbers of the players, which define their places in the first tour. Players with numbers 1-4 seats at the first table, 5-8 - at second table etc. Pressing button in the header fills the numbers by the order.
When all the game numbers of the players are correctly filled, you can make first tour seating pressing the button "Seat players".
Next columns are grouped by tours and containes info about players' seating in the correspondent tour and about results of the playing the tour (Game Points (GP) and Table Points (TP) to be entered). After filling the results, next tour seating is possible using the Swiss-system by pressing "Seat players" button below.
In the Settings dialog you can set timeouts for the time limit for the calculating procedures, number of "lower" tables with possible crossings of players (if it is not possible to make "pure" swiss seating) and number of "upper" tables for which the best fixed seating is provided, if the random searching algorithm is used.
CSV-file format.CSV-file used for import and export data is a text file with fields delimited with semicolon ";" character. You can open it in Microsoft Excel.
In test-mode additional buttons "R"andom appear. Press the buttons for random generation all the results of the tour. So you can easy show how the seating algorithm works.
Special version for Riichi Mahjong has been released.