Automatic Difficulty

About Automatic Difficulty

Automatic Difficulty is a number provided by the MiniTon Tournament Server that is between 1 and 10; this represents a gameโ€™s intended difficulty. 1 is the least difficult, while 10 is the most difficult. Automatic Difficulty is completely opt-in via the MiniTon Developer Console.

Caution:

In some game types, changing game difficulty behind the scenes may be confusing or upsetting to players.

Why would I use Automatic Difficulty?

Automatic Difficulty allows games to be equally fun for both beginners and experts, despite their difference in skill level.

With it enabled, the MiniTon Tournament Server will calculate a difficulty value based on the playerโ€™s level of skill, which you can then use to adjust the difficulty of your game.

So what scenarios would fit for Automatic Difficulty? For example, say you have a mini golf game. Matches with a lower difficulty value can feature simpler, more straightforward courses. Matches with a higher difficulty value can feature courses which are longer and have more obstacles. Another example is for a first-person shooter. Matches with a lower difficulty value can give the player basic enemies. As difficulty increases, the game can give the player a larger number of enemies with more health.

How does Automatic Difficulty work?

The (automatic) difficulty value is determined by the MiniTon Tournament Server. As a player wins more matches, his or her player ranking goes up, and the Tournament Server gives that player a higher difficulty value for subsequent games. Conversely, losing more will hurt a playerโ€™s ranking, and the Tournament Server will assign a lower difficulty value for the playerโ€™s subsequent games.

Players in the same match will always receive the same difficulty level to promote a fair a match.

Adding Automatic Difficulty to Your Game

Adding Automatic Difficulty to your game involves a few steps. First, you'll have to design your game with a gameplay parameter called MiniTon_difficulty in mind. Second, you'll test your game with various values of this parameter during development. And third, you will enable Automatic Difficulty when you upload your game's binary to the MiniTon Developer Console before going live.

Add a 'MiniTon_difficulty' gameplay parameter on the MiniTon Developer Console

At its core, Automatic Difficulty is implemented as a Gameplay Parameter called MiniTon_difficulty. This parameter is automatically generated by the MiniTon Tournament Server after you've enabled Automatic Difficulty when uploading your game's binary. However, you should only do this when your game is ready to go live on both MiniTon and the appropriate app store.Until then, we recommend setting a MiniTon_difficulty gameplay parameter on the MiniTon Developer Console, and assign it a value of 5 for now. Note that this is just temporary and not required but will provide you a value to test retrieval and implementation of the MiniTon_difficulty parameter.

Consume the 'MiniTon_difficulty' Gameplay Parameter in Your Game

Next, you'll need to consume the MiniTon_difficulty gameplay parameter in your game, and adjust your game's behavior based on the parameter's value. If the value does not exist, we recommended that you default to a value of 5. This could be because you either have not uploaded your binary to the MiniTon Developer Console yet, did not enable Automatic Difficulty when you uploaded your game's binary, or you did not explicitly set up the parameter for development and testing.

Enable Automatic Difficulty Before Going Live

At this point, you have tested your game's behavior with various values of MiniTon_difficulty, and you are ready to go live on MiniTon. You are now ready to enable Automatic Difficulty.

  1. Delete the MiniTon_difficulty gameplay parameter that was manually created on the MiniTon Developer Console. The MiniTon Tournament Server will automatically generate this parameter when Automatic Difficulty is enabled.

  2. Upload your game's (production ready) binary to the MiniTon Developer Console. There should be a checkbox to enable Automatic Difficulty. Make sure that checkbox is checked!

Congratulations, your game is now set up with Automatic Difficulty!

Best Practices

If applicable to your game, players on higher difficulties should have the opportunity to earn more points (higher scores) than players on lower difficulties. For example, in an arcade survival shooter, surviving for a minute at difficulty 10 should lead to a significantly higher numeric score than surviving for a minute at difficulty 1. This could mean that higher difficulties contain more enemies to destroy, or that higher difficulties contain tougher enemies that are worth more points.

Contact us

Telegram

ยฉ๏ธMiniTon 2023