Solo mode and elo

Game development with Board Game Arena Studio
User avatar
Mistergos
Posts: 79
Joined: 18 September 2011, 16:59

Solo mode and elo

Post by Mistergos »

Hi there

Rallyman can be played from 1 to 6 players.
1 player mode is detailed in rules book and a lot of players like this mode. So i can assume that some players will prefer to play solo on bga.
I am aware of the training mode. But it is a bit annoying to switch from training to normal mode.

Do i have a way to programmaticaly avoid elo points movement when there is only one player?
User avatar
joezg
Posts: 70
Joined: 16 June 2011, 17:17

Re: Solo mode and elo

Post by joezg »

Mistergos wrote: 30 April 2020, 20:18 Hi there

Rallyman can be played from 1 to 6 players.
1 player mode is detailed in rules book and a lot of players like this mode. So i can assume that some players will prefer to play solo on bga.
I am aware of the training mode. But it is a bit annoying to switch from training to normal mode.

Do i have a way to programmaticaly avoid elo points movement when there is only one player?
Yes. Solo games are supported.
I will find relevant part of documentation and link it here.
User avatar
joezg
Posts: 70
Joined: 16 June 2011, 17:17

Re: Solo mode and elo

Post by joezg »

I found a mall bit about solo mode here:
http://en.doc.boardgamearena.com/Main_g ... ie_breaker

I definitively shows that solo games are possible on BGA!

Best
Jurica
User avatar
A-dam
Posts: 107
Joined: 28 September 2013, 18:15

Re: Solo mode and elo

Post by A-dam »

Sure they are possible (Clans of Caledonia, The King's Guild) but you can play only in training mode, which can be enusred by game option setting like this:

Code: Select all

100 => array(
        'name' => totranslate('Solo Game'),
        'values' => array(
           1 => array( 'name' => totranslate('Off')),
           2 => array( 'name' => totranslate('On'))
       ),
       'startcondition' => array(
         1 => array(
           array(
             'type' => 'minplayers',
                      'value' => 2,
                      'message' => totranslate('2 players or more are required if Solo Game is OFF.'),
                      'gamestartonly' => true
           )
         ),
         2 => array( 
           array(
             'type' => 'maxplayers',
                      'value' => 1,
                      'message' => totranslate('Solo Game is only for one player.')
           ),
           array(
                'type' => 'otheroption',
                'id' => 201,
                'value' => 1,
                'message' => totranslate('Training mode is required to play a Solo Game')
            )
         )
       )
     )
Hope this helps
Adam
User avatar
Mistergos
Posts: 79
Joined: 18 September 2011, 16:59

Re: Solo mode and elo

Post by Mistergos »

Hi thanks for the replies.
I am aware of the training mode possibility. Unfortunately, it means player has to set training mode to play. I wanted to let the user play solo in normal mode but just prevents it to gain elo.

But i did not found a way to do that.
User avatar
A-dam
Posts: 107
Joined: 28 September 2013, 18:15

Re: Solo mode and elo

Post by A-dam »

Mistergos wrote: 01 May 2020, 08:37 I wanted to let the user play solo in normal mode but just prevents it to gain elo.
Is not this definition of training mode? :)
User avatar
RicardoRix
Posts: 2548
Joined: 29 April 2012, 23:43

Re: Solo mode and elo

Post by RicardoRix »

There is a side effect that solo and/or training mode games and taken to account when calculating your K factor.
So if you start playing a game a lot of times in solo mode and then play real games, you'll have to play and win 10 games straight before your ELO even reaches 100. Which is a massive downside if you want to join tournaments and play arena mode.
User avatar
tchobello
Posts: 694
Joined: 18 March 2012, 13:19

Re: Solo mode and elo

Post by tchobello »

Mistergos wrote: 01 May 2020, 08:37 Hi thanks for the replies.
I am aware of the training mode possibility. Unfortunately, it means player has to set training mode to play. I wanted to let the user play solo in normal mode but just prevents it to gain elo.

But i did not found a way to do that.
options are in the global table after game state values...
you might try to update and set the value to the one corresponding to training mode.
User avatar
tchobello
Posts: 694
Joined: 18 March 2012, 13:19

Re: Solo mode and elo

Post by tchobello »

you can add some conditions in game options...

In Dungeon Twister, you have access to the second menu only if you've selected Stand Alone in the first menu.

Code: Select all

$game_options = array(
        100 => array(
                'name' => totranslate('Game Options'),
                'values' => array
                        (
                            0 => array( 'name' => totranslate('Stand Alone') ),
                            1 => array( 'name' => totranslate('Full Frontal (secret forces)')  ),
                            2 => array( 'name' => totranslate('Draft choice (equal forces)')  ),
                            3 => array( 'name' => totranslate('Full Random Intelligent (equal forces)')  )
                        )
            ),

        101 => array(
                'name' => totranslate('Expansions'),
                'values' => array
                        (
                            0 => array( 'name' => totranslate('Base') ),
                            1 => array( 'name' => totranslate('Paladins & Dragons'), 'tmdisplay' => totranslate('Paladins & Dragons') ),
                            2 => array( 'name' => totranslate('3-4 Players ROOMS '), 'tmdisplay' => totranslate('3-4 Players') ),
                            4 => array( 'name' => totranslate('Forces of Darkness'), 'tmdisplay' => totranslate('Forces of Darkness') )
                        ),
                'displaycondition' => array
                        (
                        // Note: do not display this option unless these conditions are met
                        array(
                               'type' => 'otheroption',
                               'id' => 100, // Game specific option defined in the same array above
                               'value' => array(0)
                            )
                        )
            ),
User avatar
fafa-fr
Posts: 383
Joined: 22 December 2013, 21:58

Re: Solo mode and elo

Post by fafa-fr »

tchobello wrote: options are in the global table after game state values...
you might try to update and set the value to the one corresponding to training mode.
:shock: You want to change to training mode a game that was started in normal mode? Er, maybe you know what you're doing if you have already talked about this with the admins, or if you have a deep understanding of how these modes and these DB values are used, in game and in the global website. But in this case, I think you should at least mention this. As for me, I would never do this kind of things without a clear "No problem at all" from the admins. But maybe I worry too much, and undesirable modifications of some values in this table are impossible within games ...
Post Reply

Return to “Developers”