Geopolitical simulator — the history of creation and development

Hello.

Want to introduce you to the history of our application Vkontakte RivalRegions.
In short, is a geopolitical simulation game with elements of economy and military action. The concept is simple: you choose the region where you live, organize or join an already existing party, and begin his political career, from the parliamentarian to the President. In addition, you will naturally pump the skills of your character work in enterprises and participate in the protection of your region, or in the conquest of neighboring. After the conquest you can organize your own state.

the

Technical stuff:


The frontend html/css/js (jquery). In our opinion turned out to be quite a convenient and fast interface that allows you to play through mobile devices. Supports themes: you can change the interface colors and icons. Upset limitations of the browsers on fullscreen mode: chat and article (part of application) not available.

Backend written in php. Chat, war and battle (battle "chess" in the field of hexes is now available only in the form of training, unfortunately, receded into the background) — node.js + socket.io. Baza — MySQL.

It works like this:

image

Online in this is around 300-400 active hours:

image

The application evolves with the release (the list of innovations can be found in wiki)so caching is made in the form of a physical version of all the new set of scripts/styles the server: this of course forces users to download all the scripts and styles again but guarantees full functional and has no problems with the cache, the increasing presence of iframe. For this course there is a utility "deployment" started from the admin: interface with graphics, error and flow chat. To do this, use the method versions after the file name (script.js?v=120), but he surprisingly didn't give a 100% guarantee.

Initially the application was developed to be multilingual: the mistake of the past applications were not repeated (then had to redo it). The development is conducted with the addition of English and Russian phrases, translations into other languages placed on the shoulders of the players. To this was added a simple interface:

image

Storing strings and translations in a new field by Enter allows you to share translate about 1000 phrases fast enough, the current progress of containment and a list of interpreters is available to all players (at the moment added 12 languages available for translation 31). Add a language for translation is a minute of productivity a number of languages not affected, hence the emergence of such languages as pre-revolutionary, Soviet and Siberian.

Map (svg file) is created manually using php script transformirovalsya under the map for jquery plugin: available to move by using the keyboard and zoom. When playing through the website or in full screen mode the map is rotated on the screen.

image

April 1 was launched the alpha test. The game map consisted of only Russia, Ukraine and Belarus. 2 weeks test and break to early may. The beta test lasted from mid-may to late June, and 1 July release. If look at the history, you will see that the game is still being finalized. Every 2-3 days adding new features to the game.
It's nice that the user themselves are involved in the completion of the game, most of the translations into other languages done by their hands.

the

Advertising


After the release, immediately raised the question of monetization and promotion of the game. In the application it is possible to buy gold through the voices of Vkontakte, but unlike most games, you can also earn gold in the enterprise without investing real money. Golda, in turn, is exchanged for internal currency of the game.
The most effective way of promotion based on our experience, this internal is contact. The majority of the votes received in the application we spend on it.

There were attempts of buying positions in public servers, but their efficiency below: for a post to my 300K, reach 150K, we paid 1500 of them received a little over 200 installations.

Also tried method post write about the app, and the drawing of prizes among razerusa record. More than 500 reposts for the new iPod Shuffle.

It should be noted that the contact block new applications brings a very nice effect:

image

Plans to add new regions, improving economic and military component, and of course the exit to the West.

The game was mostly considered as a simulator of politics, but to our surprise, many of the players take their own niche in the game, which we never thought of. Some players joined a clan of mercenaries who is not a member of any party, and in order to show their power, they declared the uprising in Moscow (the capital of the strongest state at the time) and ousted the government. Many do not participate in the hostilities and hoarding of money for private enterprises (currently in development).

Happy to hear suggestions, comments, advice, tips.

Well, the link:
rivalregions.com
Play on vk.com
Play on facebook.com
Article based on information from habrahabr.ru

Comments

Popular posts from this blog

Powershell and Cyrillic in the console (updated)

Active/Passive PostgreSQL Cluster, using Pacemaker, Corosync

Automatic deployment ElasticBeanstalk using Bitbucket Pipelines