The Game of Fif

This is a two person game. You play against your computer. The board consists of a row of nine squares numbered 1 through 9. Players take turns selecting squares. The goal of the game is to select squares such that among those selected by a single player there will be a triplet that sums up to 15 (hence the name Fif.)

If the box "I move first" is checked, you have to click the "Start" button which will cause the computer to make the first move.


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.


Buy this applet
What if applet does not run?

Acknowledgement

  1. The applet is a modification of the TicTacToe Java sample distributed by Sun Microsystems and written by Arthur van Hoff. The fine graphic files come from the same source.
  2. There is no doubt M.Gardner described the game (the name's mine though) in one of his early books. More importantly, this is where I picked it from.

Theory of the Game

The game is equivalent to playing a regular TicTacToe game on the magic square board. (The square is magic in that the sums of three numbers on any straight line (vertical, horizontal or diagonal) is always 15.) There are eight such lines:

  • Horizontal
    • 4 + 9 + 2 = 15
    • 3 + 5 + 7 = 15
    • 8 + 1 + 6 = 15
  • Vertical
    • 4 + 3 + 8 = 15
    • 9 + 5 + 1 = 15
    • 2 + 7 + 6 = 15
  • Diagonal
    • 4 + 5 + 6 = 15
    • 2 + 5 + 8 = 15

These are all possible representations of 15 with three smaller positive integers.

As is well known, a TicTacToe game ends in a stalemate unless one of the players makes a mistake. In the Fif game, computer has the advantage of knowing the origin of the games and having in front of its Mind's eye the magic square board. To make the game more appealing computer errs with the probability of 1/20.

I must note in passing that my earlier Magic Squares game has no relation to the magic squares as defined here. There is a great many books and Internet sites devoted the theory and construction of magic squares.

Related material
Read more...

  • Chessboard
  • Changing Colors, an Interactive Activity
  • Plus or Minus Game
  • Solitaire on a Circle
  • Squares, Circles, and Triangles
  • Calendar Magic
  • Counting Diagonals in a Convex Polygon
  • Nim
  • |Contact| |Front page| |Contents| |Games| |Store|

    Copyright © 1996-2012 Alexander Bogomolny

     40601106

    A math books store at a unique math study site. Shopping at the store helps maintain the site. Thank you.
    Sites for teachers
    Sites for parents
    Terms of use
    Awards
    Interactive Activities

    CTK Exchange
    CTK Wiki Math
    CTK Insights - a blog
    Math Help
    Games & Puzzles
    What Is What
    Arithmetic
    Algebra
    Geometry
    Probability
    Outline Mathematics
    Make an Identity
    Book Reviews
    Stories for Young
    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
    Old and nice bookstore
    Other Math sites
    Front Page
    Movie shortcuts
    Personal info
    Privacy Policy

    Guest book
    News sites

    Recommend this site

    Sites for parents

    Education & Parenting

    Search:
    Keywords:

    Google
    Web CTK
    Supported by
    3wVentures