Cut the knot: learn to enjoy mathematics
A math books store at a unique math study site. Learn to enjoy mathematics.
Google
Web CTK
Best sites for teachers
Sites for teachers
Sites for parents
Terms of use
Awards

Interactive Activities
CTK Exchange
CTK Insights - a blog

Games & Puzzles
What Is What
Arithmetic/Algebra
Geometry
Probability
Outline Mathematics
Make an Identity
Book Reviews
Eye Opener
Analog Gadgets
Inventor's Paradox
Did you know?...
Proofs
Math as Language
Things Impossible
Visual Illusions
My Logo
Math Poll
Cut The Knot!
MSET99 Talk
Other Math sites
Front Page
Movie shortcuts
Personal info
Reciprocal links
Privacy Policy

Guest book
News sites

Recommend this site

Best sites for teachers
Sites for teachers
Sites for parents

Education & Parenting

Manifesto: what CTK is about Search CTK Buying a book is a commitment to learning Table of content Things you can find on CTK Chronology of updates Email to Cut The Knot Recommend this page

4 × 4 × 4 Tic Tac Toe

OpenGL and Java have been finally fused. The applet below is one of many samples bundled with the Java OpenGL libraries. The sample can be freely copied and distributed. I thought I'd do just that before learning programming OpenGL myself. This is a delightful example of 3d graphics.

The game is a 3d tic-tac-toe, known as tic-toc-tac-toe.

To play the game, drag the mouse.


If you were using a Java-capable browser, you would see a tic-toc-tac-toe 3d field instead of this paragraph.

This applet requires Sun's Java VM 2 which your browser may perceive as a popup. Which it is not. If you want to see the applet work, visit Sun's website at http://www.java.com/en/download/index.jsp, download and install Java VM and enjoy the applet.


Oren Patashnick is said to have [WW, p. 674] shown that the player to start the game have a winning strategy. So unlike the original 2d 3×3 game that ends in draw provided the players make no stupid moves, the first player has a chance at winning. This is a theory. As you may observe, it's not at all simple to achieve a win in practice.

Problem [500 Challenges, problem 444]

 

How many different ways are there to place 4, say, crosses in a winning streak?

Solution

Consider a 6×6×6 board centered around the given 4×4×4 cube. Each winning line of the latter intersects exactly two 1×1×1 cubes in the outer shell. On the other hand, each such 1×1×1 cube located in the outer shell lies on a single winning line. The total number of the winning lines therefore is given by

  (63 - 43) / 2 = 76.

(You can verify this approach on the common 3×3 board: (52 - 32) / 2 = 8, as expected.)

References

  1. E. J. Barbeau, M. S. Klamkin, W. O. J. Moser, Five Hundred Mathematical Challenges, MAA, 1995.
  2. E. R. Berlekamp, J. H. Conway, R. K. Guy, Winning Ways for Your Mathematical Plays, Volume 2, Academic Press, 1982

Copyright © 1996-2008 Alexander Bogomolny

28766040Page copy protected against web site content infringement by Copyscape


Search:
Keywords:


Latest on CTK Exchange
Math
Posted by Laura
2 messages
06:56 AM, Apr-15-08

Divisibility rules - Jargon buste ...
Posted by Carolyn
2 messages
08:35 AM, Apr-04-08

drawing puzzle
Posted by martin gran
31 messages
06:53 PM, May-09-08

conway's game of life
Posted by frequency
0 messages
11:52 PM, May-12-08

Mistake on the page (an aside, Be ...
Posted by Max
4 messages
10:28 AM, Feb-28-08

A Riddle
Posted by idavis1
33 messages
06:59 AM, May-15-08

Josephus Flavius (correction)
Posted by David Turner
1 messages
09:42 AM, May-14-08