Reason for Enhancement:
Sorting the standings based on wins while matching the gladiator to the correct win statistic was proving to be very difficult.
Location:
League engine, after array of gladiators is to be passed to the match engine.
Solution:
Learned about and used a vector array of gladiators instead and used a vector sort function which sorts the gladiators based on wins as well as keeping track of which gladiator is which.
Talked about this enhancement with the group so everyone is familiar with accessing data from the vector array and the enhancement can be incorporated.
Reason for Enhancement: Sorting the standings based on wins while matching the gladiator to the correct win statistic was proving to be very difficult.
Location: League engine, after array of gladiators is to be passed to the match engine.
Solution: Learned about and used a vector array of gladiators instead and used a vector sort function which sorts the gladiators based on wins as well as keeping track of which gladiator is which.
Version: 1.0