**In the game below, whoever completes a square first is the winner. You can play against the computer or a friend.**

**Here are some questions you might like to consider:**

- How can you tell if four dots make a square?
- Can you develop any winning strategies?
- Can you suggest any mathematically interesting variations on the game?

## Comments

### 6 by 6 grid

In a 6 by 6 grid the blue ( or the starting player) will ALWAYS win!

### 6 by 6 grid

Sergio, Interesting.

Do you mean blue will always win if they are both playing the best moves available to them? Why would that be so? And why do you say on the 6 by 6 grid?

### Square It!

it is fun trying to beat the computer but, I think there should be an easy mode.

### blue winning

Red can win. It is possible because sometimes blue thinks that red is never going to win, but when they don't pay attention, red wins. Red will have the mindset that they can't win because of the comment under the board. If they have the mindset that they can't win, then mostly they can't win.

### blue can always win

One strategy is to always start at the center.

Then based on red's position always choose the opposite half (top or bottom). Choose the 2nd position from center.

If red comes adjacent to you. Move blue to diagonally opposite end of previous move

In the next move fill the middle (between center and the position described above) with blue.

In the next move try to create a T symbol with Blue.

Then in the next move red will try to block you from creating one of the squares, but you can always create the other. :-)

Took some time to figure this. But Blue can always win. One I have followed the above, blue has never lost.

### That sounds like a good

That sounds like a good strategy! Does it work on all board sizes?

### Hmmm Maybe this would work?

See, the thing is, I couldn't beat red until I thought about it:

You would need 3 blue dots adjacent to each other (like an ...)

Then, you place a dot below the middle dot.

Red will block one corner of your mini square, but you just use the other square and you win!

This will only work if Red does not block a corner before.

### Square It!

This game is really fun! The red is really good and I have only won this game once so far! I think there should be an easy, medium and hard mode for beginners!

### Blue can not always win!

What ever dots the blue team puts on ,the red team could block him by making a square. Even if the blue starts in the middle we can not be sure if blue will win. Please correct me if I am wrong .

### I believe blue can usually -

I believe blue can usually - depending on the size of the board - force a win by developing a forking attack. Can you work out how?

A forking attack threatens to create 2 or more squares so red can only block one.

### 5x5 grid solution

First I put my dot in the centre. Wherever the computer goes I put a dot 2 up or down with the aim of creating a pyramid by doing it between them so it is in the shape of a triangle. This threatens a win so they must stop it - they have no choice. Now I make a 'T' by doing a dot between my first 2 dots. Then I threaten 2 wins and I will win.

### 6 by 6

I raged for so long against the computer but eventually I beat it.

### square it

Gets your brain thinking, so fun! I would play it all day if I could, I recommend it.

### Creating Squares strategy

Start in the middle, then click on diagonal dots either side of the middle to make a diagonal line of 3.

Then click on a dot to the right, left, up, down or diagonal from the middle.

Create a T shape with your dots then you can usually win on a 5 x 5 grid.

Charlotte G & Sukie B

### First place a dot in the middle...

First place a dot in the middle, then try to make a t shape that has three dots up top and one at the bottom.

### project

i had to play this game for a school project, once we'd played the game we had to write a comment to give our ideas on how we can make the game more complex. My idea is that there could be less squares and more people, this way it would make the game more of a challenge.

### Project

I played the game for a school project, and I didn't win; to make this game harder they could put more people in the game. This much of a challenging game is good because it gets people thinking about what the solution could be..

### square it

this game is more challenging than I thought

### 5 by 5 game with computor

If you do it with this setting then the tactic is to use big tilted squares but keep an eye on the computer as it is very clever!

### I beat the computor

This game is very fun it took me a long time to learn the tactics but it is really worth it.

### Modes

I agree with everyone. There really should be different levels: easy, medium and hard. On the one player game, it is really hard to win

### algorithms

the computers algorithms seems to rely on diamond shapes for its offence it likes to make a diamond or put you in a position where it has 2 individual options to win, this is also usually using diamonds .

### algorithms

What is it about diamond-shapes (or rather, tilted squares) that makes using them an effective strategy for the computer?

Is there some method you could use to help you spot any tilted squares the computer may be forming?

### Square it diamonds or squares?!?!?!?!

It seems that the computer prefers to beat the player with a diamond shape. It will always attempt to have to options available one diamond, one square. It will always defend as a last resort preferring to play more aggressively. But when it does defend it is to protect its diamond or to stop the player from winning.

### Strategy

So it would appear that the computer relies on trying to form a square that is hard to spot, while also blocking any square that you are about to complete.

If you are going first, is there any way you could adopt this strategy for yourself? Would going first give you an advantage if both players had the same strategy?

### Playing vs the computer

It is too hard playing vs the computer but I like the game!

### NOTHING

Blue doesn't always win, red can also win. The winning strategy would be making two options for making a square so the opponent doesn't know which one to choose. Also to defend if the opponent goes first put the, dot diagonally from it.

### Maybe...

if you make a line of 3 not next to the side you can win by putting a dot above the middle one , you can then win by either side. What is good about this is that if you get blocked you can just do it again on the opposite side