Toaninja / Gladius

0 stars 0 forks source link

Enhancement - Using vector Gladiator arrays instead of regular arrays #6

Closed nsmangat closed 3 years ago

nsmangat commented 3 years ago

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

nsmangat commented 3 years ago

Talked about this enhancement with the group so everyone is familiar with accessing data from the vector array and the enhancement can be incorporated.