Tag Archives: squares puzzle

Color the solutions to the “Find the squares in C#” puzzle

The post Solve the “Find the squares in C#” puzzle explained how you can find solutions to the puzzle described in the post Puzzle: Find the squares in C#. This example shows how you can color the solutions so squares … Continue reading

Posted in algorithms, games, graphics, mathematics | Tagged , , , , , , , , , , , | Leave a comment

Solve the “Find the squares in C#” puzzle

This post shows how to solve the puzzle Puzzle: Find the squares in C#. The program howto_square_puzzle_solution uses the following code to define the puzzle’s 11 solutions. // Small squares. Solutions.Add(new int[] { 0, 1, 4, 3 }); Solutions.Add(new int[] … Continue reading

Posted in algorithms, games, mathematics | Tagged , , , , , , , , , , , | 1 Comment

Puzzle: Find the squares in C#

The example Puzzle: Find the equilateral triangles in C# was fun, at least for me, so here’s another puzzle. This time your goal is find all of the squares that you can make using the red dots shown here. If … Continue reading

Posted in algorithms, games, graphics, mathematics | Tagged , , , , , , , , , , , | 1 Comment