Kayles

Kayles

In combinatorial game theory, Kayles is a simple impartial game. In the notation of octal games, Kayles is denoted . 077.

Rules

Kayles is played with a row of tokens, which represent bowling pins. The row may be of any length. The two players alternate; each player, on his or her turn, may remove either any one pin (a ball bowled directly at that pin), or two adjacent pins (a ball bowled to strike both). Under the normal play convention, a player loses when he or she has no legal move (that is, when all the pins are gone). The game can also be played using misère rules; in this case, the player who cannot move "wins".

Analysis

Most players quickly discover that the first player has a guaranteed win in normal Kayles whenever the row length is greater than zero. This win can be achieved using a symmetry strategy. On his or her first move, the first player should move so that the row is broken into two sections of equal length. This restricts all future moves to one section or the other. Now, the first player merely imitates the second player's moves in the opposite row.

It is more interesting to ask what the nim-value is of a row of length n. This is often denoted K_n; it is a nimber, not a number. By the Sprague-Grundy theorem, K_n is the mex of the options. For example,

: K_5 = mbox{mex}{K_0 + K_4, K_1 + K_3, K_2 + K_2, K_0 + K_3, K_1 + K_2},,

because from a row of length 5, one can move to the positions

: K_0 + K_4,quad K_1 + K_3,quad K_2 + K_2,quad K_0 + K_3, ext{ and } K_1 + K_2.,

Recursive calculation of values (starting with K_0 = 0) gives the results summarized in the following table. To find the value of K_n on the table, write n as 12p + q, and look at row a, column b:



At this point, the nim-value sequence becomes periodic with period 12, so all further rows of the table are identical to the last row.

Applications

Because certain positions in Dots and Boxes reduce to Kayles positionsE. Berlekamp, J. H. Conway, R. Guy. "Winning Ways for your Mathematical Plays." Academic Press, 1982.] , it is necessary to understand Kayles in order to analyze a generic Dots and Boxes position.

History

Kayles was invented by Henry Dudeney [citation|first=H. E. |last=Dudeney|title=The Canterbury puzzles|isbn=0-486-42558-4|page=118-119, puzzle 73|publisher=Dover] Conway, John H. "On Numbers and Games." Academic Press, 1976.] . Richard Guy and Cedric Smith were first to completely analyze the normal-play version, using Sprague-Grundy theory.T.E. Plambeck, Daisies, Kayles and the Sibert-Conway decomposition in misere octal games, Theoret. Comput. Sci (Math Games) (1992) 96 361-388.] The misère version was analyzed by William Sibert in 1973, but he did not publish his work until 1989.Plambeck, Thane. "Kayles." http://www.plambeck.org/oldhtml/mathematics/games/misere/077/index.htm]

The name "Kayles" is an Anglicization of the French "quilles", meaning "bowling."

See also

* Combinatorial game theory
* Octal game
* Dawson's Kayles
* Nimber

References


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • Kayles — Kayles, n. pl. [Akin to Dan. kegle, Sw. kegla, D. & G. kegel, OHG. kegil, whence F. quille.] A game; ninepins. [Prov Eng.] Carew. [1913 Webster] …   The Collaborative International Dictionary of English

  • kayles — variant of kails …   Useful english dictionary

  • Octal game — The octal games form a significant subclass of impartial games studied in combinatorial game theory.[1][2] They are organized by a numeric coding system that enables a compact specification of a variety of game rules. Contents 1 Octal games… …   Wikipedia

  • Winning Ways for your Mathematical Plays — (Academic Press, 1982) by Elwyn R. Berlekamp, John H. Conway, and Richard K. Guy is a compendium of information on mathematical games. It was first published in 1982 in two volumes.The first volume introduces combinatorial game theory and its… …   Wikipedia

  • Jeu octal — Les jeux octaux, étudiés dans le cadre de la théorie des jeux combinatoires[1], sont une catégorie de jeux impartiaux, proches du jeu de Nim. Ils se jouent avec des tas d objets où les coups autorisés consistent à retirer des objets d un tas et… …   Wikipédia en Français

  • Ятвяжский язык — Самоназвание: jātviun/sūdaviun bilā, Sūdaviskas Страны: Литва, Беларусь …   Википедия

  • kails — ˈkāəlz noun plural Etymology: Middle English kayles; akin to Middle Dutch kegel cone, ninepin, Old High German kegil stake, peg, Old Norse kaggi keg more at keg 1. dialect Britain : a set of bone or wooden pins used in playing ninepins 2. usually …   Useful english dictionary

  • Keels — Keels, n. pl. Ninepins. See {Kayles}. [1913 Webster] …   The Collaborative International Dictionary of English

  • Nim — For other uses, see Nim (disambiguation). Nim is a mathematical game of strategy in which two players take turns removing objects from distinct heaps. On each turn, a player must remove at least one object, and may remove any number of objects… …   Wikipedia

  • Impartial game — In combinatorial game theory, an impartial game is a game in which the allowable moves depend only on the position and not on which of the two players is currently moving, and where the payoffs are symmetric. In other words, the only difference… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”