I need help creating a program to meet some criteria. To summarize a little operation which I hope will work: it is a program that would allow me to list and sort characters (whose number will be requested at the beginning) according to their velocity and their initiative (two integers) while knowing that they must appear as many times as they can in their action, ie "Speed/2 = number of shares". The sorting must be done fairly (ie do not cram all the actions of a person before the other, unless the speed of one is x times greater than another, in which case it is allowed) .
Bookmarks