Hi, I'm not getting my head around this problem tried a few ways but with no success, basically, I have a string of numbers 12345678910 which are the players numbers 1 to 10, as a player is removed I want to remove his number from the string, next player is removed so is his number, etc. until there is only one number left, the winner
I'm sure there must be a better way of doing this, is the string method the best, or am I better to create an array, or use maps, I'm just having a mental block, any help is greatly appreciated
I'm sure there must be a better way of doing this, is the string method the best, or am I better to create an array, or use maps, I'm just having a mental block, any help is greatly appreciated