Tic tac toe cubed

Teresa

New member
Joined
Jan 27, 2020
Messages
11
Similar to the regular version of tic tac toe you are trying to arrange your marbles into lines of 3. The cube shaped game board is made from 27 transparent unit Cubes arranged in a 3 by 3 by 3 array. How many different winning lines are there in a 3x3x3 cube?
 
Hi, Teresa.

We'd like to work with you. What ideas have you had? What have you tried? Where do you need help?

If you haven't started, you might first find all the possible directions for winning lines, and then count how many of each there are.

Show us any work you can do, and we can work with you. Be sure to read this, which you apparently did not.
 
I tried to figure out the number of wins for the diagonal lines , I have attached a picture but I don’t think it’s correct and now I need to find the number of wins for the vertical lines and then for the horizontal lines
 

Attachments

  • 16C2ABA6-1BBE-4654-9C96-A20DB8B261DD.jpeg
    16C2ABA6-1BBE-4654-9C96-A20DB8B261DD.jpeg
    1.2 MB · Views: 13
You are on the right track with your winning diagonal lines. You have worked out there are two for each face of the cube you can see in your two dimensional drawing. But how many faces can you not see? Once you know this, you can work out how many winning diagonal lines there are altogether.

Hint:
To counting winning vertical lines:
Shade in top face of cube. How many squares have you shaded? If each shaded square is the top surface of a vertical line of three cubes how many vertical lines are underneath the top face of the cube?

To count winning horizontal lines:
Shade in right face of cube. How many squares have you shaded? If each shaded square is the right end of a horizontal line of three cubes how many horizontal lines of three cubes form the right face of your cube?
 
When I count something unfamiliar to me, I feel most confident if I can get the same answer two different ways -- it's easy to miss something!

Along the lines of what hoosie said, one approach is to first pick a direction, and then count how many places there are to start in that direction. For example, vertical lines (going downward) can start anywhere on the top, so the number of spots on the top gives you the count. For horizontal lines, don't forget there are two horizontal directions.

A way to reverse the process, which might make you aware of directions you've missed, is to start not with a direction, but a place. Pick a place (say, a corner of the top) and think about how many directions you could go from there and make three in a row. Some may be subtle! Then you can count how many places in the cube would have the same number of winning rows. (But don't forget that you might be counting the same row twice, once from each end!)
 
You are on the right track with your winning diagonal lines. You have worked out there are two for each face of the cube you can see in your two dimensional drawing. But how many faces can you not see? Once you know this, you can work out how many winning diagonal lines there are altogether.

Hint:
To counting winning vertical lines:
Shade in top face of cube. How many squares have you shaded? If each shaded square is the top surface of a vertical line of three cubes how many vertical lines are underneath the top face of the cube?

To count winning horizontal lines:
Shade in right face of cube. How many squares have you shaded? If each shaded square is the right end of a horizontal line of three cubes how many horizontal lines of three cubes form the right face of your cube?
Thanks for your help.
I got 10 winning lines for the diagonal lines, 9 winning lines for verticle lines and 15 for horizontal lines but I’m not sure if it’s correct.
 

Attachments

  • F70BAA7E-1689-453D-8001-F05536D5C894.jpeg
    F70BAA7E-1689-453D-8001-F05536D5C894.jpeg
    2.2 MB · Views: 6
  • E77E9D88-8181-4884-B808-98084EA7C379.jpeg
    E77E9D88-8181-4884-B808-98084EA7C379.jpeg
    1.2 MB · Views: 4
When I count something unfamiliar to me, I feel most confident if I can get the same answer two different ways -- it's easy to miss something!

Along the lines of what hoosie said, one approach is to first pick a direction, and then count how many places there are to start in that direction. For example, vertical lines (going downward) can start anywhere on the top, so the number of spots on the top gives you the count. For horizontal lines, don't forget there are two horizontal directions.

A way to reverse the process, which might make you aware of directions you've missed, is to start not with a direction, but a place. Pick a place (say, a corner of the top) and think about how many directions you could go from there and make three in a row. Some may be subtle! Then you can count how many places in the cube would have the same number of winning rows. (But don't forget that you might be counting the same row twice, once from each end!)
Hi there, I am not sure how there are two horizontal lines?
 
Hi there, I am not sure how there are two horizontal lines?

Two directions: left to right, front to back. So, for example, on the top there are 3 one way, and 3 the other.

Thanks for your help.
I got 10 winning lines for the diagonal lines, 9 winning lines for verticle lines and 15 for horizontal lines but I’m not sure if it’s correct.
There are more than that; you've missed some that are not visible on the surface.

First, there are 6 faces to the cube, not just the 5 you show; but also diagonal lines can go through the middle, too -- not just on a face.

You're right about vertical lines (one ending at each square on the top); but there are more than 15 horizontal. Keep in mind that they come in two groups as mentioned above.

Then, have you considered lines that cross through the middle from one corner to the other?
 
Winning lines:
Vertical : White 111,222,333,444,555,666,777,888,999 Total?
As Dr.Peterson suggested consider two directions for each horizontal layer (red and blue).
Horizontal: Red 111,222,333,444,555,666,777,888,999 Total?
Horizontal: Blue 111,222,333,444,555,666,777,888,999 Total?
Diagonals in horizontal plane: White 159,357 for 3 layers. Total?
Also consider winning diagonal lines in oblique planes - Dr. Peterson referred to this in his post.
Using the numbers one of these diagonals is :
1(White top corner)5(Blue centre cube)9(Red bottom corner)
Can you think of the others?
What is your final answer?



B3FCEDF1-2573-47AD-AD11-9E2E8243247D.jpeg
 
For verticals I got 9 because I also counted the middle cube. And for the red diagonals I got 2 and for the blue diagonals I got 2 which adds to 4 so I know that for the other 2 sides I have to add 4 so that’s a total of 8 wins for the diagonals.
 
So I got another 8 diagonal lines for the cube and they are found inside the cube
 

Attachments

  • EE1F6EE8-EDE1-44FF-82FC-B57FF228BD74.jpeg
    EE1F6EE8-EDE1-44FF-82FC-B57FF228BD74.jpeg
    1.3 MB · Views: 9
  • C326A394-FC8E-4F53-A27A-04318AF49C42.jpeg
    C326A394-FC8E-4F53-A27A-04318AF49C42.jpeg
    2.2 MB · Views: 9
I got 24 for the three layers for the top middle and bottom
 

Attachments

  • C564AA03-7BDA-49E0-BC25-403B734A5028.jpeg
    C564AA03-7BDA-49E0-BC25-403B734A5028.jpeg
    2 MB · Views: 9
For verticals I got 9 because I also counted the middle cube. And for the red diagonals I got 2 and for the blue diagonals I got 2 which adds to 4 so I know that for the other 2 sides I have to add 4 so that’s a total of 8 wins for the diagonals.
Teresa- you correctly counted 4 diagonals for the red and blue faces of the cube and say that you have to add another 4 diagonals for the other 2 sides (faces). But have you missed any faces? A cube has a top face and a bottom face, a front face and a ? face, a left face and a ? face. How many faces does a cube have?

You also say there are 8 diagonals inside the cube but I would like you to think about this for a moment- after counting the four diagonals (starting from each of the top four corners through the middle to each of the bottom four corners) you decided to add another 4 diagonals presumably counting those that start from each of the bottom corners through the middle to each of the top corners. But if you turn the cube upside down ( after counting first four diagonals) and repeat the process ( starting from the top face again) are you counting diagonals that have already been counted?

What are your thoughts Teresa?
 
To come up with a formula which will allow us to calculate the number of winning lines for a cube of any size let’s look at how we counted the winning lines for a 3×3×3 cube.
Vertical plane:
9 = 3×3
Horizontal plane:
9 = 3×3 (left to right)
9 = 3×3 (front to back)
6 = 3×2 (diagonals)
Oblique plane(diagonals inside cube)
4
In general if we let n = number of cubes along the edge of a cube of size n×n×n
then we can work out a rule for the number of winning lines of any size cube.
In above example we had 3×9 + 3×2 + 4 = 37 winning lines for 3×3×3 cube.
Using our rule where n = 3 and N = number of winning lines we can write:
N = 3×3² + 3×2 + 4 = 37
General case:
N = 3n² + 2n + 4
What does N equal for a cube of size 4×4×4?
If n = 5 what does N equal?
Try n = 6 and n = 7.
Can you see a pattern?
 
Top