Professional Documents
Culture Documents
Jenga : Urizwick T
Jenga : Urizwick T
Jenga *
Uri Z w i c k t
Abstract
1 Introduction
DEFINITION 3.1. (STABILITY) A tower ( a l , a 2 , . - - , a k ) is CLAIM 3.2. lfat,w2 ¢ {100,001}, then conv(ai,a2) _D
said to be stable if and only if a physical realization of it does [L × ]]-
not collapse, even if blocks are very slightly displaced from
their intended positions. A tower is said to be semi-stable/f The proofs of these claims are given below. We show first
and only if an exact physical realization of it might stand, at that they imply the validity of the lemma.
least temporarily, but an infinitesimal displacement of one of We show first, by induction on k, that if ( a l , a 2 , . . . ,ak)
its blocks would collapse it. is valid, then it is stable. We already know that the claim
holds for k = 1,2, 3. Suppose therefore that k > 4.
DEFINITION 3.2. (VALIDITY) A tower ( a l , a 2 , - - . ,ak) is It is easy to see that if ( a l , a 2 , . . . , a k ) is valid, then
said to be valid, /f and only if ai # 100 and ai # 001, (ag.,... ,ak) is also valid. By the induction hypothesis,
for every 1 <_ i < k, and if k > 3 then (at*-2,at~-1,atc) is (ag.,..., ak) is stable. We only have to show, therefore, that
not one of (010,010, 100), (010,010,001), (011,010, 100) cent(ag.,as,...,a~) R E int(conv(ax,a2)). This follows
and (110, 010,001). immediately from the two claims.
We next show, again by induction on k, that if
LEMMA 3.1. (STABILITY LEMMA) A tower is stable if and ( a l , a 2 , . . . , a k ) is not valid, then it is not stable. If
only if it is valid. (a2,aa,...,a~) is not valid, then by the induction hy-
pothesis, it is not stable, and ( a t , a 2 , . . . , a h ) is not sta-
Proof: By elementary physics, a tower of height k is stable ble either. Suppose, therefore, that (a2,a3,..-,at*) is
if and only if, for every 1 _< i < k, the center of gravity of valid, but al ----- 100. (The case at = 001 is identi-
levels i + 1 up to k lies above the interior of the convex hull cal.) But then clearly cony(at,a2) C [0 , 5] I x [13,1], while
of the area of contact between levels i and i + 1. A tower e e a t ( ( a 2 , a a , . . . ,ak) R E (~, ~) x (~, ~)and the claim fol-
is semi-stable if for some i, the center of gravity lies above a lows.
boundary point of the convex hull of the contact area. All that remains, therefore, is to prove the two claims:
Let cent(at, a 2 , . . . , at,) be the projection of the center of Proof" (of Claim 3.1) The inspection used to verify the claim
gravity of the tower (at, a 2 , . . . , at*) on the z-V plane. Let of the lemma for k = 2 also shows that for every valid
eonv(at,az) be the projection, again on the a~-V plane, of i 2 1
tower (ai,a2) we have eent(ax,a2) E (5, 5) x [5, ~]" (It
the area of contact between the first and second levels of the is easy to cheek, for example, that the tower that minimizes
tower (at, a2). I f x = (zt, z2) E ]R2, we let x R = (z2, :Vl).
the ~/coordinate of cent(at, ag.) is (010,100), and that the
More formally then, a tower (al, a2, . . . . ak) is stable if and y coordinate is then ~. Now, it is also easy to check that if
only if cent(ai+t, a i + 2 , . . . , ak) R E int(conv(ai, ai+t)), ax # 100andat # 001,then cent(at) E (1, ~)x(½, 9
for 1 _< i < k, where int(A) denotes the interior of a set A. c e n t ( a t , a 2 , . . . , a~) is a weighted average of cent(al) and
The reverse operation is needed here as the orientation of
cent(as, a n - . . , ak), the claim follows easily by induction.
the layers alternates. (A tower is semi-stable if and only if []
eent(ai+x, a i + 2 , . - . , ak) R E conv(a~, ai+t), for 1 < i < k,
and for at least one such i, eent(ai+l, ai+2,..., ak) n is on The proof of Claim 3.2 is immediate. This completes the
the boundary of conv(ai, ai+l). ) proof of the stability lemma.
It is easy to check, by inspection, that a 2-layer tower
(at, az) is stable if and only ff it is valid. The only towers
4 Combinatorial formulation
that are non-stable and non-valid have at E {100,001}.
These towers are not even semi-stable. (Recall that the even Each position in the game is, therefore, characterized by a
numbered levels are rotated by 90 °.) valid tower ( a l , a 2 , . . . ,ak), for some k >_ 1. In the initial
It is also easy to check that a 3-level tower (at,ag.,a3) position, at = a2 = . . . = ak = 111. The rules of the
is stable if and only if it is valid. Here the situation is game instruct each player to "'remove a block from anywhere
a little bit more interesting. The towers (010,010, 100), below the highest completed story. Then stack it on top
(010,010,001), (011,010,100) and (110,010,001) are of the tower, at fight angles to the blocks just below it:'
semi-stable and are therefore defined not to be valid. If follows easily, by induction, that in any tower obtained
during a valid game of Jenga, we have ak-1 = 111 or
To prove the claim for higher towers, we need the following ak = 111. (Note, in particular, that this means that no semi-
claims: stable towers can be encountered during the game. Is this the
rational behind the requirements that blocks should only be
CLAIM 3.1. I f ( a t , a 2 , . . . ,ak) is a valid tower, and k >_ 3, removed from stories below the highest completed story, and
theneent(az,ag.,... ,ak) E (½, ~) x (~, ~). not, for example, from anywhere below the top story?)
245
I-I Remove the middle block from a story of type III. f v ( x - a,u,z + 1)
1-min~V(z-l,v+l,z+l) if z > 0,11> 0,
II- Remove a side block from a story of type m . (V(~r,v-l,z+l) j
where position (x,V, 3), when it occurs, is immediately { v ( x rood 3, y rood 3, z ) ifz>Oorz>O,
converted to (x + 1, V, 0). Vo(V mod 3) if x = z = O.
the first matrix in the definition of v.) It follows, therefore, Open problem 1: For which values of r~ can the first player
that a game that starts with a tower of height n is a win for force a win in a game of Jenkak that starts with n-full levels,
the first player if and only i f n = 2, or n -----1, 2 ( rood 3) and where k > 3 is an odd number?
n>__4.
Open problem 2: What is the complexity of determining
The optimal moves from any position are given by:
whether a given position in Jenkak, for k > 3, is a win for
the first player?
and References
m0=[o I-I o].
More specifically, the optimal move(s) from position [BCG82] E.R. Berlekamp, J.H. Conway, and R.K. Guy. Winning
(x,//, z), where z > 0 or z > 0, are given by ra( x rood 3, Ways for your mathematical plays, volume 1. Academic
It rood 3, z ), while the optimal move(s) from position Press, 1982.
(0,7/,0), are given by r n o ( ~ / m o d 3). From some posi-
tions, there are several optimal moves. In particular, from
positions of the form (z,g, 1), where x -- l ( m o d 3 ) and
I/--= 0(rood 3), all three moves are winning moves! Entries
in rn and rn0 containing o correspond to loosing positions,
so all moves from these positions are loosing moves. The
claim that these are indeed the optimal moves can again be
verified by induction.
There does not seem to be a more compact way of character-
izing the winning positions in Jenga, and the optimal moves
from each position. Note, however, that the characterization
given is very compact. Given the constant-size arrays m and
too, we can find an optimal move from any position in con-
stant time.
6 Generalization
We suggest the following natural generalization of lenga,
called Jenka~. This game is played by blocks of dimension
x ~ x 1, and each layer in the initial tower is composed of
k such blocks. The rules of the game remain unchanged. As
pointed out by one of the reviewers, the starting position of
Jenkak, for even k, is a win for the second player, as the
second player can always play a move that is the m i n o r
image of the move played by the first player. Analyzing
Jenkak, for k > 3, k odd, seems to be a more challenging
task. Our analysis of Jenka3 relied heavily on the stability
lernma that implied, among other things, that two towers
that contain the same number of layers of each type are
equivalent. Unfortunately, this claim does not hold when
k >_ 4. Thus, at least potentially, there may be an exponential
number of non-equivalent towers with a given number of
blocks.