I'm storing player IDs as global variables, but sometimes I want to use the same global to say something like "no player has yet..." or "there is no longer a player such that..."
So, let's suppose I record that as "7". That's going to be all well and good until the 7th person to get an account with BGA tries to play and everything crashes.
Or does it work like that? Is there a player_id 7 out there somewhere? What player_id can I be 100% confident doesn't exist?
(Yes, I know, there are workarounds that don't assume any player numbers don't exist, but if there are any that don't yet and will never exist, that will be very useful.)
So, let's suppose I record that as "7". That's going to be all well and good until the 7th person to get an account with BGA tries to play and everything crashes.
Or does it work like that? Is there a player_id 7 out there somewhere? What player_id can I be 100% confident doesn't exist?
(Yes, I know, there are workarounds that don't assume any player numbers don't exist, but if there are any that don't yet and will never exist, that will be very useful.)