📜 ⬆️ ⬇️

6 games in 6 weeks - the fifth game

“Holms, how did you know that I was a php specialist?”
- Elementary, Watson, you have an elephant on a sweater.

image

Game five - dancing little men . Based on the story of Conan Doyle. The adventure of dancing men .

The game (at the time of publication of the article) did not pass the moderation in the store. I will explain why. The plot of the game is classic - 10 lines of text are taken from the immortal novel by A.S. and the same letters are replaced by the same characters. Linguists instantly decrypt. The threshold of entry is high. As a result of the month of the game, I learned by heart Eugene Onegin .
')
However, a picture like this will be deciphered by everyone who speaks Russian.

image
Figure 1. A three-letter word.

This word is either HOW or OR , or IT , or THAT . Of course, German lovers will say that this is the second word from the phrase HENDE HOH. But no, Pushkin did not know German.

I will return to the question of unsuccessful verification.
On the screen with the next riddle, the prompt line is always lit - in it all the characters are arranged in descending order of their presence in the text. The most common letters are usually E N or O.

image
Figure 2. Prompt string

And so, in this line of the help lied a sedition. One of the pictures did not pass moderation.
Guess what?
In the comments I will answer this question, the first one who guessed - the prize, headphones from iPhone 6 Plus .

UPD.
Won Mr: (.



A few comments on the development


The game is designed exclusively for the iPad, since on a small screen it is extremely inconvenient to choose and drag letters - symbols.
The game is not designed for the English man in the street. I tried to shove Shakespeare into it, but more TH bundles dramatically simplify the decryption process.

I want to give beginner developers one piece of advice that I have suffered for three years of development - never draw letters and numbers with bitmaps .
Only text with a font on the side of the phone.
And finally, only the native controls from the iOS SDK were used for drawing.

//  signView = [[UIImageView alloc] initWithImage:[UIImage imageNamed: @"symbol_01.png"] ]; signView.frame = CGRectMake(0,0,dx,dy); //  lettView = [[UILabel alloc] initWithFrame:CGRectMake(0,0, dx, dy)]; lettView.font = [UIFont fontWithName:@"HelveticaNeue" size: dx]; lettView.textColor = [UIColor blackColor]; lettView.backgroundColor = [UIColor clearColor]; lettView.textAlignment = NSTextAlignmentCenter; 


Application design


Language toys should be as close as possible to the design of a classic book. Coarse colors, fuzzy pictures spoil the process of solving.

image
Figure 3. This text is easy to decode.

Games designed for a Russian audience are moderated in the shop o-o-very slowly. Three weeks. Yes, three weeks lasts for each iteration cycle. This means that the application will be approved not earlier than the New Year.

From what you and congratulations.

Source: https://habr.com/ru/post/246497/


All Articles