Page 1 of 2
Solo mode and elo
Posted: 30 April 2020, 20:18
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?
Re: Solo mode and elo
Posted: 30 April 2020, 21:08
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.
Re: Solo mode and elo
Posted: 30 April 2020, 23:24
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
Re: Solo mode and elo
Posted: 01 May 2020, 06:37
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
Re: Solo mode and elo
Posted: 01 May 2020, 08:37
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.
Re: Solo mode and elo
Posted: 01 May 2020, 08:41
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?

Re: Solo mode and elo
Posted: 01 May 2020, 10:24
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.
Re: Solo mode and elo
Posted: 01 May 2020, 10:48
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.
Re: Solo mode and elo
Posted: 01 May 2020, 13:52
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)
)
)
),
Re: Solo mode and elo
Posted: 01 May 2020, 13:59
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.

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 ...