Hi, I read the docs and the forum but i didn't found an answer.
I was tring to inizialize a prng with a custom seed to shuffle a deck and replay a card game, so that the cards are shuffled in the same way.
This could be used for tournaments, to play the same game at the same time or it could be used just to replay interesting games maybe only in training mode.
This is a feature that a lot of Hanabi players would love to have, and probably also in other games.
In hanabi there is a list of "preset deck" that do exacty what i am trying to do, but it is very limited since it takes as a fixed input the current day and the number of the deck [1-6], so that it will be possible to play those decks only today... honestly not very usefull, i never played those decks.
So, Is it possible to insert as a gameoption a dynamic input value, instead of a predermined list of options?
Because i succeded to pass the value to the custom deck generator* but it would not be possible to fill a dropdown list with almost "infinite" values.
If this is not possible, could we access the "presentation" text field and use it as an input parameter ?
Or maybe there is a better way to pass a custom value that is not documented.
*I know that the shuffle() method in php does not take a seed, in hanabi it was created a custom function to do it, that probably could be improved to be more random, but this is another problem.
Thanks
I was tring to inizialize a prng with a custom seed to shuffle a deck and replay a card game, so that the cards are shuffled in the same way.
This could be used for tournaments, to play the same game at the same time or it could be used just to replay interesting games maybe only in training mode.
This is a feature that a lot of Hanabi players would love to have, and probably also in other games.
In hanabi there is a list of "preset deck" that do exacty what i am trying to do, but it is very limited since it takes as a fixed input the current day and the number of the deck [1-6], so that it will be possible to play those decks only today... honestly not very usefull, i never played those decks.
So, Is it possible to insert as a gameoption a dynamic input value, instead of a predermined list of options?
Because i succeded to pass the value to the custom deck generator* but it would not be possible to fill a dropdown list with almost "infinite" values.
If this is not possible, could we access the "presentation" text field and use it as an input parameter ?
Or maybe there is a better way to pass a custom value that is not documented.
*I know that the shuffle() method in php does not take a seed, in hanabi it was created a custom function to do it, that probably could be improved to be more random, but this is another problem.
Thanks