📜 ⬆️ ⬇️

Bribe, or the story of one solitaire

image
A warning! The article is intended for fans of card games and puzzles.

I am skeptical about the creation of new plots. Everything has already happened, said Ecclesiast, and what he said was also there. Nevertheless, programmers still dream and buy lottery tickets. And I dreamed of transferring the family card game to my iPhone - when suddenly the dream came true. Somewhere I already wrote about this.

The game was designed for two, and I played with the A7 processor. 18 bribes were played out, the processor was stupid (oh my God, whoever programs like that!) And after a month of the game I thoroughly studied the character of the opponent. The main goal was to beat him with a score of 18-0.

When the problem was solved a couple of times, I sat down at the documentation (developer.apple.com) and in a very long evening I made a network game for two.
I put it in the store, after approval I played with my brother (he lives in St. Petersburg) - and he understood. Not at all. Live game is different.

It is not interesting to play card games at a distance . Akin to remote sex.
')
I returned to the game with the bot and continued to wonder at its stupidity. However, despite the lack of intelligence, the processor quite often beat me. Sometimes success is directly dependent on the alignment. In my head, I gradually began to see a plan. Do I have a plan? Yes, Mr. Fix - first, grab mail. Second, cancel your opponent's moves.

The main idea - to prohibit the moves of your opponent


That is, the game one-against-another, I turned into solitaire. In the card game, take turns. I always go to solitaire .

I was in line at the cashier when this thought lit up my pale brow. Throwing the cart and the half-eaten apple, I ran home, took a card deck from the cabinet and quickly laid out the cards into 2 piles (this was the fastest prototype in my life). Half the cards - me. Half to the enemy. I tried to play by the new rules - solitaire has developed!

Once again - success again! The main thing is a fascinating process.
- Balda, - I thought, why a deck of 36 cards, take from 52 . Solitaire became more interesting, every third alignment stopped gathering and I sat down for programming.

The creation of the game itself is like a holiday romance. Maximum 2 weeks, but very nice. Month debugged, 10 times rewrote everything from scratch, right up to the design of cards. The fact is that 4 card suits are often confused by those who see badly. I replaced 4 suits with 4 bright colors. Stole the palette in the game UNO.

image
Rejected Screenshot

It was unusual, but now I will not trade this deck for any other. Dramatically increased the size of the fonts - why spoil the eyes, tell me? Major cards are decorated with symbols of suits.

When checking the game, stepped on the next rake. To make it more interesting, try to guess why this screenshot was rejected.

The answer for the impatient
The answer is in the chest
Chest
Answer in a hare
Hare
Are you persistent
the word DEMO is forbidden to use in the description of the game






Finally screwed up an advertisement from Appodeal, made the game free and waited for the check. I, thank God, had time before the release of the new iOS 9 axis. Because the old Xcode 6 is already illegitimate. I had to switch to Xcode 7 and betray all the old users from iOS 7. Yes, the store closed for them.

Thanks for attention.

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


All Articles