Monte-Carlo Simulation of Chess Tournament Classification Systems

Similar documents
Determine the Expected value for each die: Red, Blue and Green. Based on your calculations from Question 1, do you think the game is fair?

The Glicko system. Professor Mark E. Glickman Boston University

Virtual Global Search: Application to 9x9 Go

GICAA State Chess Tournament

"Skill" Ranking in Memoir '44 Online

Machine Learning in Iterated Prisoner s Dilemma using Evolutionary Algorithms

Roll for the Tournament -Jousting

Problem Set 2. Counting

Using Neural Network and Monte-Carlo Tree Search to Play the Game TEN

Foundations of AI. 6. Adversarial Search. Search Strategies for Games, Games with Chance, State of the Art. Wolfram Burgard & Bernhard Nebel

DRAGON BALL Z TCG TOURNAMENT GUIDE V 1.3 (9/15/2015)

Derive Poker Winning Probability by Statistical JAVA Simulation

Steamroller 2010 Appendix

Grade 7/8 Math Circles Game Theory October 27/28, 2015

Playing Othello Using Monte Carlo

Unit 6: What Do You Expect? Investigation 2: Experimental and Theoretical Probability

EVENT ESSENTIALS. Date: 25th November System: Warhammer 40,000 Matched Play. Army Size: 1,000 points.

Statistics Laboratory 7

DRAGON BALL Z TCG TOURNAMENT GUIDE V 2.2 (1/27/2017)

Exploitability and Game Theory Optimal Play in Poker

Automatic Bidding for the Game of Skat

MA 110 Homework 1 ANSWERS

Grade 8 Math Assignment: Probability

, x {1, 2, k}, where k > 0. (a) Write down P(X = 2). (1) (b) Show that k = 3. (4) Find E(X). (2) (Total 7 marks)

Booking Link: /index.jhtml?WT.mc_id=POG

1. A factory makes calculators. Over a long period, 2 % of them are found to be faulty. A random sample of 100 calculators is tested.

Simple Poker Game Design, Simulation, and Probability

CBSE FAR EAST ZONE CHESS CHAMPIONSHIP CT0BER 2018

Ar#ficial)Intelligence!!

Foundations of Artificial Intelligence

2017 Limited Kit Event Outline

Table of Contents. Table of Contents 1

Foundations of Artificial Intelligence

COMP3211 Project. Artificial Intelligence for Tron game. Group 7. Chiu Ka Wa ( ) Chun Wai Wong ( ) Ku Chun Kit ( )

Presentation by Toy Designers: Max Ashley

Module 3. Problem Solving using Search- (Two agent) Version 2 CSE IIT, Kharagpur

On the Monty Hall Dilemma and Some Related Variations

Game-Playing & Adversarial Search

Official Skirmish Tournament Rules

Waiting Times. Lesson1. Unit UNIT 7 PATTERNS IN CHANCE

DUEL MASTERS DCI FLOOR RULES Effective August 6, 2004

MAJOR ENTRY FORM. (See pages 3 to 5 for Terms & Conditions)

Here is a step-by-step guide to playing a basic SCRABBLE game including rules, recommendations and examples of frequently asked questions.

Probability Questions from the Game Pickomino

W A R H A M M E R 4 0, E X P O T O U R N A M E N T

Mind Ninja The Game of Boundless Forms

Round-robin Tournament with Three Groups of Five Entries. Round-robin Tournament with Five Groups of Three Entries

44 INTERNATIONAL CHESS OPEN CIUTAT DE BADALONA. 1-9 August 2018 "MEMORIAL MIQUEL CASTELLÀ I GILI"

Experiments in Probability ----a game of dice ---

Texas Hold em Poker Basic Rules & Strategy

BayesChess: A computer chess program based on Bayesian networks

Goal threats, temperature and Monte-Carlo Go

game tree complete all possible moves

Theory and Practice of Artificial Intelligence

More on games (Ch )

1 Document history Version Date Comments

Comparing the State Estimates of a Kalman Filter to a Perfect IMM Against a Maneuvering Target

Predicting the outcome of NFL games using machine learning Babak Hamadani bhamadan-at-stanford.edu cs229 - Stanford University

2016 Grade Level Tournament FAQ

1 - Some basic definitions 2 - What is Duplicate Texas Holdem? 3 - How it works

Artificial Intelligence. Cameron Jett, William Kentris, Arthur Mo, Juan Roman

Documentation and Discussion

Critical Run Tournament Event Outline

Red Dragon Inn Tournament Rules

23 Applications of Probability to Combinatorics

Set 4: Game-Playing. ICS 271 Fall 2017 Kalev Kask

CHICAGO PUBLIC SCHOOLS ACADEMIC CHESS COMPTITION RULES AND REGULATIONS

CYO of Long Island Chess Rules and Organizational Matters

CS 771 Artificial Intelligence. Adversarial Search

CBSE FAR EAST ZONE CHESS CHAMPIONSHIP 2017

New Zealand Interschool Chess Competition

WORLD YOUTH U-16 CHESS OLYMPIAD 2017

Reflections on the First Man vs. Machine No-Limit Texas Hold 'em Competition

SUMMARY OF CHANGES IN THIS VERSION VERSION EFFECTIVE 07/23/2018. Corrected typos and edited language for clarifications

Adversary Search. Ref: Chapter 5

Sutiono, Arie Pratama; Ramadan, Rido Author(s) Jarukasetporn, Peetikorn; Takeuchi, Purwarianti, Ayu; Iida, Hiroyuki

Tournament etiquette is a lot simpler than table manners. We expect Scholastic Players to always demonstrate the following basic courtesies:

GCSE MATHEMATICS Intermediate Tier, topic sheet. PROBABILITY

Foundations of AI. 5. Board Games. Search Strategies for Games, Games with Chance, State of the Art. Wolfram Burgard and Luc De Raedt SA-1

By David Anderson SZTAKI (Budapest, Hungary) WPI D2009

MyPawns OppPawns MyKings OppKings MyThreatened OppThreatened MyWins OppWins Draws

Three Pile Nim with Move Blocking. Arthur Holshouser. Harold Reiter.

AGL: BASIC RULES... 3 AGL: STANDARD TOURNAMENT RULES... 6 AGL: OPEN TOURNAMENT RULES... 9 AGL: STANDARD LEAGUE RULES... 11

RANKING METHODS FOR OLYMPIC SPORTS: A CASE STUDY BY THE U.S. OLYMPIC COMMITTEE AND THE COLLEGE OF CHARLESTON

Sheepshead, THE Game Release Notes

2. The value of the middle term in a ranked data set is called: A) the mean B) the standard deviation C) the mode D) the median

New Zealand Interschool Chess Competition

Statistical Hypothesis Testing

THE OPTIMAL DESIGN OF ROUND- ROBIN TOURNAMENTS WITH THREE PLAYERS. Alex Krumer, Reut Megidish and Aner Sela. Discussion Paper No

2015 MLK Holiday Tournament FAQ Frequently Asked Questions

A Game of Thrones: The Card Game Tournament Regulations

DIVISION III (Grades 4-5) Common Rules

Travelling Integers. Materials

1st Prize th - 10th Prizes 1700х5= nd Prize th - 15th Prizes 1200х5= rd Prize th -20th Prizes 700х5=3500

1. Click the Create a Tournament Button (see Challonge Screen 01)

Monte Carlo based battleship agent

Foundations of AI. 6. Board Games. Search Strategies for Games, Games with Chance, State of the Art

Two-person symmetric whist

Math 152: Applicable Mathematics and Computing

Game Playing for a Variant of Mancala Board Game (Pallanguzhi)

Transcription:

Monte-Carlo Simulation of Chess Tournament Classification Systems T. Van Hecke University Ghent, Faculty of Engineering and Architecture Schoonmeersstraat 52, B-9000 Ghent, Belgium Tanja.VanHecke@ugent.be November 14, 2013 Abstract What makes you win a chess tournament? You should be talented, but the choice of opponents will influence your final ranking as well. This article compares different ranking systems from mathematical point of view, such as the Swiss system and the elimination method and discusses how to handle tiebreaks. In order to judge which system is fair, a theoretical analysis by means of an appropriate error function is made, as well as simulations with the Monte-Carlo method. Keywords: Monte-Carlo simulation, ranking system, estimation, error function 1 Introduction In section 1 we describe different ranking systems used in chess tournaments, as well as in other sports events. To make a mathematical comparison of the different methods in section 2, an error function is described to evaluate the Swiss system and the elimination method for appointing a winner. The statistics from the Monte-Carlo method that was used as simulation technique, confirm the theoretical results. 2 Tournament Classification systems 2.1 Swiss system versus elimination system Many games(chess, bridge, tennis,...) confront two players. When tournaments take place, many players have to face each other. The way of pairing should lead to a correct classification. A Round Robin is a format of chess tournaments where each opponent plays all of the other opponents. This is the best way of determining playing strength; however, the number of rounds needed are 1

prohibitive for a large number of entrants. For example, for 16 players, there would be 15 rounds using the Round Robin format. To obtain a representative classification without the inpractical option of creating all possible C 2 m pairs if there are m players, there exist two main systems: the elimination system and the Swiss system [2][4]. The basic rule for the elimination system is once you lose a round, you fall out and will no longer play. This reduces the number of confrontations between players and is often used in tennis tournaments with infrastructural limitations. Chess tournaments require much less infrastructure. Here the Swiss tournament system is chosen more often. It was invented by J. Muller and first used in a chess tournament at Zurich (Switzerland) in 1895 (hence Swiss system). We assume that players are paired ad random for the starting round. There exist systems where this assumption is replaced by an initial classification based on results of the tournament of the previous year, e.g. the McMahon system. As only the winning players continue, the last round is the most spectacular one where the two best players duel. In the Swiss system the players are classified by the number of games they have won so far. When the number of players is a power of 2, i.e. m = 2 k, it is possible to select pairs of players who both won the same number of games, which makes this case the most preferable. We assume one may not play the same player twice within the same tournament. 2.2 Tiebreaks The final classification in the Swiss system is based firstly on the total number of games won by the player. But this doesn t make the players unique and tiebreaks will occur. To make a further ranking withing the sets S j of players who won the same number j of games, a refinement of the Swiss system is required. Two important tiebreak methods are the Solkoff method and the cumulative method [5]. The Solkoff method is based on the strength of opponents a player has beaten and is quantified by a weight quantity w i. This weight quantity w i of player A can be defined as the sum of the number of games won by the players beaten by player A. Within a set S j (j = 0, 1,..., 4) players with higher weights get smaller ranking numbers. For those players with equal weights, the mean of the concerned weight is attributed to each of them. For example: when the ranking numbers 10 and 11 are to be attributed to two players within the same set with equal weights, the are both ranked by number 10.5. The cumulative method is based on the sum sc i of the cumulative (running) scores for each round. So if you won your first 3 games, lost the fourth game, and won the fifth, your cumulative score is: 1 2 3 3 4. This makes sc i = 1+2+3+3+4 = 13, which would be your cumulative tiebreak. A player who lost his first game, then won the last four would have a cumulative tiebreak as follows: sc i = 0+1+2+3+4 = 10 tiebreak points. The reasoning behind this method is based on the Swiss system of playing an opponent with the same score as oneself. The assumption is that if you win early, you re playing tougher opponents (opponents who also won early and probably finished higher). If you lost in the early rounds, you played weaker opponents (who also lost early and 2

probably didn t finish as high). The higher sc i, the better the player i. 3 Mathematical comparison 3.1 Initial conditions Weconsider16participantsnumberedfrom1to16withtheassumptionthatthe smaller the number, the better the player. This means that when player i and player j are confronted, player i will win if i < j. As the goal of a tournament is to create a classification of players that represents their level, we expect as outcome of the tournament: player i ends up at ranking i. The number of active players in each round is shown in Table 1 for both systems when the tournament starts with 16 players. As m = 2 4, a winner can be indicated after four rounds. method round 1 round 2 round 3 round 4 elimination 16 8 4 2 Swiss 16 16 16 16 Table 1: number of players during the different rounds After i rounds m 2 i Cj i players were able to win j games with the Swiss system, as is shown in Table 4 where the cardinality of the sets S i is given at the different stages of the tournament. Here S i is the set of players who have won i games so far. Table 3 gives analoguous cardinalities with the elimination system. Set round 1 round 2 round 3 round 4 S 0 8 8 8 8 S 1 8 4 4 4 S 2 0 4 2 2 S 3 0 0 2 1 S 4 0 0 0 1 Table 3: Cardinality of S i (i {0, 1, 2, 3, 4}) after several rounds with the elimination system Set round 1 round 2 round 3 round 4 S 0 8 4 2 1 S 1 8 8 6 4 S 2 0 4 6 6 S 3 0 0 2 4 S 4 0 0 0 1 Table 4: Cardinality of S i (i {0, 1, 2, 3, 4}) after several rounds with the Swiss system 3

To compare and evaluate the two basic systems of tournament classification, we simulate the Swiss method without secondary ranking within the sets S i. They all receive the same mean ranking of the set they are in (see Table 5 based on the cardinalities of Table 3 and 4 to determine the mean values). System S 4 S 3 S 2 S 1 S 0 elimination 1 2 3.5 6.5 12.5 Swiss 1 3.5 8.5 13.5 16 Table 5: Awarded ranking for elements of S i (i {0, 1, 2, 3, 4}) at the end of the tournament 3.2 Elimination method We discuss an example with 16 players in detail where a random generator determines the initial pairing: (9, 8), (13, 5),(10, 1), (4, 16),(2, 3), (14, 6),(11, 12), (7, 15) (1) Applying the elimination method to this initial situation leads to S 0 = {9, 13, 16, 10, 3, 14, 12, 15} (2) S 1 = {8, 5, 1, 4, 2, 6, 11, 7} (3) After randomization in S 1 the following pairing is proposed: (5, 6),(4, 2),(11, 8),(1, 7) (4) After two rounds, the players are partitioned into the sets S 0 = {9, 13, 16, 10, 3, 14, 12, 15} (5) After randomization the following pairing is proposed: S 1 = {6, 4, 11, 7} (6) S 2 = {5, 2, 8, 1} (7) (2, 8),(1, 5) (8) After three rounds, the players are partitioned into the sets S 0 = {9, 13, 16, 10, 3, 14, 12, 15} (9) S 1 = {6, 4, 11, 7} (10) S 2 = {5, 8} (11) S 3 = {2, 1} (12) A final fourth round will indicate player 1 as the winner. 4

3.3 Swiss system We start by pairing the 16 players at random as in (1) with the elimination method. The first round with the Swiss system gives the same sets S 0 and S 1 as in respectively (2) and (3). After randomization in the two sets the following pairing is proposed: (3, 9),(10, 15),(14, 16),(12, 13),(5, 6),(4, 2),(11, 8),(1, 7) (13) After two rounds, the players are partitioned into the sets S 0 = {9, 16, 15, 13} (14) S 1 = {3, 10, 14, 12, 6, 4, 11, 7} (15) After randomization the following pairing is proposed: S 2 = {5, 2, 8, 1} (16) (13, 9),(16, 15),(14, 11),(7, 3),(4, 10),(6, 12),(2, 8),(1, 5) (17) After two rounds, the players are partitioned into the sets S 0 = {13, 16} (18) S 1 = {9, 15, 14, 7, 10, 12} (19) S 2 = {11, 3, 4, 6, 8, 5} (20) S 3 = {2, 1} (21) Player i r i w i r s i sc i r c i Player i r i w i r s i sc i r c i 1 1 10 1 10 1 9 13.5 1 12.5 2 13.5 2 3.5 8 2 9 2 10 8.5 2 9.5 4 10.5 3 3.5 5 4.5 6 5 11 8.5 3 7 6 7.5 4 3.5 4 3 7 4 12 13.5 1 12.5 3 12 5 3.5 5 4.5 8 3 13 13.5 0 14.5 1 15 6 8.5 3 7 6 7.5 14 8.5 1 11 4 10.5 7 8.5 2 9.5 5 9 15 13.5 0 14.5 2 13.5 8 8.5 3 7 7 6 16 16 0 16 0 16 Table 6: Ranking of the different players with the Swiss system (basic and refined version with Solkoff and cumulative tiebreak methods) After a last randomization of the sets, the last round with pairs (22) will determine the final ranking given in Table 6. This table also mentions the refined ranking r s i and r c i heading tiebreaks within the sets S i (i = 0, 12, 3) with respectively the Solkoff and the cumulative tiebreak methods. (13, 16),(7, 9),(15, 14),(10, 12),(3, 6),(11, 4),(8, 5),(1, 2) (22) 5

3.4 Error measuring of tournament classification methods In order to evaluate the different tournament classification systems, we need to measure the error of the created ranking. Therefore we consider the error (23) where r i is the ranking for player i. e = m (i r i ) 2 (23) i=1 When internal ranking is applied within the sets, the error e takes the value 77.5 in the basic version of the Swiss system and can be reduced to 16 i=1 (i ri s)2 = 52 and 16 i=1 (i rc i )2 = 69.5 for the Solkoff method and the cumulative method respectively. 3.5 Monte Carlo simulation of tournaments The Monte Carlo simulation [3], [1] technique uses multiple trial runs to discover statistical characteristic features. We apply this method to the tournament case and make several runs of a tournament starting from a random pairing of the players. m We consider e j = (i r j i )2, where r j i is the ranking for player i after run i=1 number j of the simulation, with ē its mean after n runs, defined by (24). It represents the summed square of the deviation of the expected ranking and the obtained value by each simulation run of the tournament with m players. ē = 1 n n m (i r j i )2 (24) j=1 i=1 Figure 1 illustrates this error: the mean ranking r i of a player i as in (25) after n = 200 runs in the simulation of the tournament is plotted as function of the number i of the player. The expected value is added by the straight line. Figure 2 shows the same variables but the ranking is made here with the Swiss system. For example: in the case of the elimination method r 5 = 184.225, but is reduced to r 5 = 59.70 in the case of the Swiss system. r i = 1 n n r j i (25) j=1 Further statistics of e including its 95% confidence interval can be compared by means of Table 7. 6

16 14 12 10 8 6 4 2 2 4 6 8 10 12 14 16 x Figure 1: the mean score after 200 runs with the elimination method versus expected value for the different players. 16 14 12 10 8 6 4 2 2 4 6 8 10 12 14 16 Figure 2: the mean score after 200 runs with the Swiss system versus expected value for the different players. System ē s e 95% C.I. of e Elimination 184.225 936.50 [54.432, 314.018] Swiss 59.7 297.039 [18.533, 100.867] Table 7: Statistics of the error e 7

4 Conclusion By means of the error function (23) we were able to quantify the superior classification feature of the Swiss system compared to the elimination system when ranking players at a chess tournament. The Swiss system appears to be the ranking method with the highest probability that the best player will end up as the winner of the tournament. References [1] Fishman, G.S. (1995). Monte Carlo: Concepts, Algorithms and Apllications, Springer, New York. [2] Just, T. and Burg, D. (2003). U.S. Chess Federation s Official Rules of Chess, McKay. [3] Metropolis, N. and Ulam, S. (1949). The Monte Carlo method. Journal of Amer. Stat. Assoc., 44, 335 341. [4] Root, A. W., McNeil, J.D. (2006). Children and chess: a guide for educators. Teacher Ideas Press, 27 28. [5] www.winbeam.com/ chess/tiebreaks.html 8