by therealpoorboy » Sat Mar 04, 2017 5:58 am
Hi Stan
Thanks for considering this.
Below are my thoughts and possible ideas for user process pseudo code
We would need a third option in the "Number Groups Tools" Creator
I.e Menu Drop Down ->Tools -> Number Groups -> 'Click Green '+' -> Import .CSV [ currently there are two types of Groups [Number ranges or Discrete numbers]
At this point the user would a select a .csv file that they had previously created.
They would select the .csv file and they would be prompted to enter the number of groups, this would correspond to the number lines in the file.
See Example below:
This number group file below has 5 lines and therefore 5 number groups
99 groups is the current max limit for number groups so that would have to be the max limit
File1.csv
Data1,3,14 26,31,
Data2,5,13,28,31,45,49,
Data3,48,45,13,11,12,37,2,5
Data4,11,22,33,44,1,3,4,5,46
Data5,40,31,32,21,12,34, 48,44,34,12,
//Syntax
The first data would be text if the user wanted to name the Number Groups as the number groups are created, (i.e Data1....Data5)
After that would be the actual numbers for the each number group.
//Error Checking
There would have to be authentication for error checking that the numbers can be played in the game.
I.e There could not be a 50 if they were playing a 6/49 game
There could not be a 0
The numbers in the lines would not have to be sorted from lowest to highest
i.e Data5,40,31,32,21,12,34, 48, 44,34,12, // this line or group is not sorted from lowest to highest ,and it should be able to be read in regardless
//Duplicates in the line
If there was a duplicate number in line, there should not be a problem either.
Since this is an advanced method of creating Number Groups, some owness should be placed on the user
The user created the .csv file they should be a aware of the numbers in the each line.
But you may wish to have a check box [ either except duplicates or not do except duplicates] //but this maybe a little too tedious though
//Number Group Creation
As the .csv file is read in it would perform the above error checks and then spit out any exceptions with a dialogue box.
If there are any errors the user would have to go back to the original .csv file and make the corrections and try the above process again.
Once the .csv file is successfully read in the user would be prompted to Name it.
The Number Groups would then appear, in right pane as it does now.
These are just my thoughts and a starting point to consider.
It definitely would be a time saver for creating large and multiple Number Groups
Thanks for your consideration