# Double Mind: SwapHow to play

First, you enter the DoubleMind:Swap menu page, where you can select the size of the grid which you will play with, and the maximum number of colors you can use.

You can also select to activate the interactive tutorial while you're playing.
When you press the Start button, the game begins.
Your goal in the DoubleMind:Swap game is to guess a combination of different colors from a hidden solution, which are disposed into a grid of the same size as yours. At the beginning of the game, your grid is filled up with the same colors of the hidden solution and randomly shuffled. So you know that all the colors on the grid are right, but likely not in their original position.
You can change the colors' positions by swapping them one with each other.

To swap two colors A and B, just drag color A over the color B you want to swap with, and wait until the color B start to move towards the cell previously taken by A. At this point just drop the color A to the B position, and the color B will be automatically take the A position. Please note that if the two colors are the same, the swap will not happen.
At any time, the computer checks your colors against the hidden solution and gives you some indications.
For each row and each column of the grid, the right colors in the right place and the right colors in the wrong place are counted. A right color in the right position (but - obviously - not the position itself) is indicated by a small black ball, while a right color in a wrong place is indicated by a small white ball. After each try, for each row and column you'll know how many right colors in the right place and in the wrong place are disposed in that row/column, but you won't know which ones of them are in the right place, or in the wrong place, or not matching with any colors in that row/column.

## Example

The following example shows how the small white and black balls are disposed besides the rows/columns, depending on how the try matches the solution. Here is what happens for the rows (only two of them are shown for clarity):

For the columns, it works in the same way:

Each color in every row/column can be considered only once in the right colors counting. In the example, in the first column only one yellow is considered as "right in the right place", because in the solution there is only one yellow in that column.

To help yourself keep track of the colors you think to be in the right position, you can mark them as "right" by double tapping on them:

To un-mark a color, simply double tap on it again. A marked color being swapped with another, will be unmarked as well.

## Playing against the computer

Normally, you play against the computer player (Mr. Kobayashi) who uses the small grid on the bottom left, and you make your moves in alternate turns. You win if you guess the solution before Kobayashi does. Please note that Mr. Kobayashi will play with the same grid size and number of colors as you, but he will have to guess a different solution than yours.

## Unlocking new colors and rows / columns

If you guess the solution before Kobayashi does, you will unlock new colors and you will be able to play with bigger grids (maximum 5x5). More precisely:

 In the easiest levels, you must win at least twice with the current maximum number of rows, columns and colors to unlock either new rows / columns or new colors. Later on, for harder levels only one win will be enough to unlock the next features. The maximum numbers of rows / columns / colors in this game will not change if you unlock new rows / columns / colors in other games

If Kobayashi-san finds his solution before you do, you can still finish your game but it will not help you to unlock new features.