# 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 verbal math problem are needed these knowledge from mathematics:

## Next similar examples:

- Three digits number 2

Find the number of all three-digit positive integers that can be put together from digits 1,2,3,4 and which are subject to the same time has the following conditions: on one positions is one of the numbers 1,3,4, on the place of hundreds 4 or 2. - Divisible by 5

How many three-digit odd numbers divisible by 5, which are in place ten's number 3? - Driving school

Driving final exam involving 10 attendants. The exam consists of three parts. 2 fails at test (quiz) and 6 students fails on car skills test on playground (slalom between the cone). The practical part of the test - driving in town in the real traffic - al - Football league

In the 2nd football league plays each of the 16 participants with each opponent twice. For every victory gets 3 points, 1 point for a draw, a defeat none. After the competition was team with 54 points and 12 defeats at 9th place. How many times have won? - Apples 2

How many apples were originally on the tree, if the first day fell one third, the second day quarter of the rest and on tree remained 45 apples? - Factory

In the factory workers work in three shifts. In the first inning operates half of all employees in the second inning and a third in the third inning 200 employees. How many employees work at the factory? - Pages of book

Lenka calculated that if every day to read 16 pages of the book, read a book a day earlier than had read only 14 pages a day. How many pages has this book? - Farm2

The farm bred turkeys, geese, hens and chickens. Everything is 400. Turkeys and geese a hen are 150. No hen has more than one chicken, but some hens has no chick. Half of them is also a quarter of the chickens. When the turkey subtracting 15, we get 75. Ho - How many

How many double-digit numbers greater than 30 we can create from digits 0, 1, 2, 3, 4, 5? Numbers cannot be repeated in a two-digit number. - Three-digit

How many three-digit natural numbers do not have the number 7? - Buttons

Shirt has 6 buttons, blouse has 4 buttons. All buttons are 176. Shirts and blouses are together 36. How many are the shirts and blouses? - Donuts

In the dining room at one table sit Thomas, Filip and Martin. Together they eat 36 donuts. How many donuts eaten everyone, when Filip ate twice as much as Thomas and Martin even half over Filip? - Magic number

The number 135 split to two addends so that one addend was 30 greater than 2/5 the addend. - Mushrooms

For five days, we have collected 410 mushrooms. Interestingly every day we have collected 10 mushrooms more than the preceding day. How many mushrooms we have collected during 4th day? - Seven

Seven friends agree to send everyone a holiday card. How many postcards were sent? - Tram

In the three-part tram went 206 passengers in front of others, 226 after others and in the middle half of all. How many passengers went in tram total? - Shots

Determine the percentage rate of keeper interventions if from 32 shots doesn't caught four shots.