# Logik game

Letter game Logik is a two player game, which has the following rules:

1. The first player thinks five-letter word in which no letter is not

repeated.

2. The second player writes a five-letter word.

3. The first player answers two numbers - the first number indicates how many letters written word coincides with the imaginary word, and is also on the correct position; the second number indicates how many letters written word is contained in the imaginary word, but is not the right place.

4. Steps 2 and 3 are repeated until the second player imaginary word guess.

Recording one game of two friends looked like this:

SONET 1 2

MUDRC 0 2

PLAST 0 2

KMOTR 0 4

ATOLY 1 1

DOGMA 0 2

The next move was meant by the word guessed. Determine which word

it was.

Our presented solution contains a program in PHP language, which will solve the given combination of letters - by brute force, quickly and painlessly.

1. The first player thinks five-letter word in which no letter is not

repeated.

2. The second player writes a five-letter word.

3. The first player answers two numbers - the first number indicates how many letters written word coincides with the imaginary word, and is also on the correct position; the second number indicates how many letters written word is contained in the imaginary word, but is not the right place.

4. Steps 2 and 3 are repeated until the second player imaginary word guess.

Recording one game of two friends looked like this:

SONET 1 2

MUDRC 0 2

PLAST 0 2

KMOTR 0 4

ATOLY 1 1

DOGMA 0 2

The next move was meant by the word guessed. Determine which word

it was.

**Note:**Our presented solution contains a program in PHP language, which will solve the given combination of letters - by brute force, quickly and painlessly.

**Result****Leave us a comment of example and its solution (i.e. if it is still somewhat unclear...):**

**Showing 0 comments:**

**Be the first to comment!**

#### To solve this example are needed these knowledge from mathematics:

## Next similar examples:

- Hockey players

After we cycle five hockey players sit down. What is the probability that the two best scorers of this crew will sit next to each other? - Numbers

How many different 7 digit natural numbers in which no digit is repeated, can be composed from digits 0,1,2,3,4,5,6? - Playing cards

How many possible ways are to shuffle 7 playing cards? - 7 heroes

9 heroes galloping on 9 horses behind. How many ways can sort them behind? - Flags

How many different flags can be made from colors white, red, green, purple, orange, yellow, blue so that each flag consisted of three different colors? - Vans

In how many ways can 9 shuttle vans line up at the airport? - Seating

How many ways can 6 people sit on 3 numbered chairs (e. G. , seat reservation on the train)? - Word

What is the probability that a random word composed of chars T, H, A, M will be the MATH? - Shelf

How many ways are there to arrange 6 books on a shelf? - Phone numbers

How many 7-digit telephone numbers can be compiled from the digits 0,1,2,..,8,9 that no digit is repeated? - Rectangles

How many rectangles with area 3032 cm^{2}whose sides is natural numbers are? - Pairs

At the table sit 8 people, 4 on one side and 4 on the other side. Among them are 3 pairs. Every pair wants to sit opposite each other. How many ways can they sit? - Lock

Combination lock will open when the right choice of 5 numbers (from 1 to 12 inclusive) is selected. A. How many different lock combinations are possible? B. Is he combination lock named appropriately? - Subsets

How many are all subsets of set ?? - Kids

How many different ways can sit 8 boys and 3 girls in line, if girls want to sit on the edge? - School trip

The class has 19 students. What different ways students can be accommodated in the hostel, where available 3× 2-bed, 3× 3-bed and 1× 4-bed rooms. (Each room has its unique number) - Toys

3 children pulled 12 different toys from a box. Many ways can be divided toys so that each children had at least one toy?