📜 ⬆️ ⬇️

MMORPG without too much detail: a year later

Hello, community.

A year has passed, from my talk about our independent browser: MMORPG without unnecessary details . During this year, many different events have happened that are not interesting to you, the community - who knows what does in your toy? Therefore, I will not talk about them.

I'll tell you better about three things that will interest you for sure: about our statistics, the original text generator and the public API.

Statistics


Since at the beginning of the development it was decided to become as open as possible for everyone, when it was necessary to collect statistics, we acted simply: we opened access to it for everyone, including players.
')
It lies here: the-tale.org/statistics and is updated once a day. The only drawback is that all amounts are expressed in game currency, but the transfer rules are indicated, so do not be intimidated.

For example, here is our monthly income chart.



We invite everyone to join the reality TV show "the survival of independent developers in capitalist reality."

For the most curious, here is a short excerpt (as of March 26, 2015):


Text generator


Our game, with more text. All actions of the hero and important events are described in small phrases in his journal (what is happening right now) and diary (recent important events). At the moment we have 433 unique types of phrases for all occasions.

In order not to torment players with monotonous content, it was necessary to implement an advanced text template engine that takes into account the dependencies of words and their morphological features.

Demonstrate his work best example.

Depending on the values ​​of the variables, this is the pattern: [mob] [|mob] [hero|].

It may become like a phrase: .
So it was: .

Let's sort the example in detail
  • - plain text.
  • [mob] - variable, instead of which the monster name will be substituted.
  • [|mob] - a word dependent on a variable; a part of its properties will change depending on the properties of the name of the monster (for example, a number). The text generator automatically recognizes the properties of the word form and tries to save them (for example, the elapsed time will be recognized and saved).
  • [hero|] - variable, instead of which the name of the hero will be substituted. Additionally stated that the name must be in the accusative case.


Examples of use and a detailed description of the format can be found on the game website - new phrases are invented and issued by players.

The generator code is open and lies on the githaba: github.com/Tiendil/utg

By the way, our database of phrases is generally accessible, so if suddenly you need 100,500 ways to describe how one character shreds another, then we have them.

API


We are gradually making an open API for working with the game, so that everyone can experiment and, possibly, do something useful. Enthusiasts are already using it for the development of mobile clients, browser extensions and other interesting things.

We invite you to join.

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


All Articles