Output

Started by FreeRoulette, Nov 08, 2022, 03:57 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

FreeRoulette

I watched the video and it is cool to show the bankroll as the system plays out. I haven't been able to play around with it yet, but can all the outputs be saved in text files? Or are they already?

VLS

Thanks for your feedback!

Quote from: FreeRoulette on Nov 08, 2022, 03:57 PMcan all the outputs be saved in text files?

An actuals file saving module is coming (one number per line).

Do you want balance saving to text file? (I.e. comma-separated values, for importing to Excel, etc).

...We are trying to shape things based on users' requests to be of utmost service :)


-- Victor

FreeRoulette

If you are able to save one output file like

Spin,balance,otherstats...
1,200,xyzdata
5,195,abc

If coders could add their per spin variable to the stack to display in the output file, then I think that would be helpful, even for debugging. 



VLS

Quote from: FreeRoulette on Nov 11, 2022, 11:14 AMIf you are able to save one output file like

Spin,balance,other stats...
1,200,xyzdata
5,195,abc

Our current format is:

<input>|<bet>|<balance>|<data>

Quote from: FreeRoulette on Nov 11, 2022, 11:14 AMIf coders could add their per spin variable to the stack to display in the output file, then I think that would be helpful, even for debugging.

We are still defining the <data> part on the 0.x branch.

The candidate library is Newtonsoft.json/JSON.net:

https://github.com/JamesNK/Newtonsoft.Json

The idea is to merge all the JSON coming from modules to append to the core string on each spin.

There are plenty of languages with JSON support, either native or via library:

https://rosettacode.org/wiki/JSON



So, this feature is planned 👍


-- Victor