📜 ⬆️ ⬇️

/ ^ 777 $ / or / ^ 7 {3} $ / or number of luck

image

I want to talk about the earnings of a typical telephone toy application made for myself and not promoted anywhere.
The history of the game began in 2008, when all slot machines were banned in our city. Remember their unassuming design, the crowd of pensioners at the coin-receiver, the ringing of falling five-ruble - it fell three identical numbers, to the joy of the player and to the envy of others.
The probability of winning a armless gangster varied from 0.95 to 0.98, depending on the owners' greed, and did not give a chance to enrich even the most successful players.

The situation around the columns was heating up. Relatives of playing pensioners protested. Grandmothers squandered money fast and fun. As a result, the devices were removed.
Pensioners went home to grow tomato seedlings, and I wrote for myself an application - a column emulator.
')
I repent, I loved throwing pigs, making all sorts of desires. On the day when three sevens fell out (the maximum win is 200 coins) - Steve Jobs told the world about iOS.
With the advent of a personal iPhone, I rewrote the application from Symbian to Xcode, from Epoc32 to Cocoa.

And put it in the store for $ 1.

Good old OpenGL


Generally speaking, the application was written under OpenGL and used a single low-resolution texture.

image
The texture of the first application.

The rules are simple - throw a coin and get a three-digit number in response. With certain combinations of three digits, you return the money.
The conditions for winning money are written on the side of an old pay phone. Yes, nostalgia.

Let's run from 000 to 999 and calculate the probability of winning.
A simple calculation says that for 1000 shots we will earn 681 coins. In this scenario, no one will play. Therefore, the following condition is added to the game algorithm. If 2 identical first digits fall out - the last one is thrown.

Under this condition, it is already more difficult to calculate the probability of winning.
I got 1079.

That is, playing endlessly, every 100 coins bring 8 percent of profit. Oh, another thing, interest in this game will not disappear.

However, my interest in the application quickly disappeared. The years have passed.
I changed four iPhones and a couple of rented apartments, and suddenly I remembered my ancient application. How much money did it bring?

But how many.

image

I looked at the screenshots of my ancient creation and was horrified.

Reincarnation game


image

The application was rewritten in two days, without using any OpenGL and other Unity.
The design is stolen from some cartoon game (according to the method described in one of my previous articles).
The payment was removed, put the advertisement (10 coins are given for viewing the advertisement), for which I apologize, five children require porridge.

The new application turned out nicer and more fun.
Code refactoring was solid, if not 100 percent, then about.
The animation is done by native SDKs.
Three-dimensional rotation of the coin around the axis - drawing 8 sprites.
The shadow of a girl running through borrowed from the network, 6 sprites.
Stars and coins fall under the action of gravity with g = 4.0 m / s * s.

image
For full-screen advertising I use Chartboost, the average advertising income is $ 2 per week.

I hope you enjoy the game.
Good luck to everyone.

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


All Articles