deepheat101
Board Regular
- Joined
- Jul 26, 2006
- Messages
- 138
Hello
I have data from a game simulator that lists six available tokens with non-repeating values from 1 to 6 in any order.
The smallest value token is selected first (for an action that I have already constructed)
For each subsequent round of the game the next next smallest token is selected. It's easy enough for me to establish the selected token for that round using SMALL.
However, on each round none or one of the tokens may be removed by random; but for what it's worth a selected token can not be removed on that round. The "select" and "remove" are not related. For the next round the next smallest token of those remaining must be selected.
After six rounds or the largest item is selected and if there are any tokens left, then we start again from the smallest until either one token remains or ten rounds are played
The following example may assist..
Using SMALL to establish the selected token works upto the point until the next smallest value has already been removed..
What formula establishes which token is selected per round?
Many Thanks
dp
I have data from a game simulator that lists six available tokens with non-repeating values from 1 to 6 in any order.
The smallest value token is selected first (for an action that I have already constructed)
For each subsequent round of the game the next next smallest token is selected. It's easy enough for me to establish the selected token for that round using SMALL.
However, on each round none or one of the tokens may be removed by random; but for what it's worth a selected token can not be removed on that round. The "select" and "remove" are not related. For the next round the next smallest token of those remaining must be selected.
After six rounds or the largest item is selected and if there are any tokens left, then we start again from the smallest until either one token remains or ten rounds are played
The following example may assist..
Code:
A B C D E F
3 5 1 2 4 6 Round 1: select 1
3 5 1 2 4 6 Round 2: select 2
3 5 1 2 4 6 Round 3: select 3 (Token 4 is randomly removed)
3 5 1 2 6 Round 4: select 5 (Token 1 is randomly removed)
3 5 2 6 Round 5: select 6
3 5 2 6 Round 6: select 2 (Token 3 is randomly removed)
5 2 6 Round 7: select 5
5 2 6 Round 8: select 6 (Token 2 is randomly removed)
5 6 Round 9: select 5 (Token 6 is randomly removed)
5 Round 10: end
Using SMALL to establish the selected token works upto the point until the next smallest value has already been removed..
What formula establishes which token is selected per round?
Many Thanks
dp