Derby - Selecting a winner
#3

Show where you assign/sort the positions (Code)
And I would recommend a 500 ms timer, even just a 1s timers for this purpose - running only when a derby is active.

I would suggest taking a look at the following subject:
https://en.wikipedia.org/wiki/Insertion_sort

This method works perfectly. If you're working with many many items to sort, take a look at some alternatives here: https://en.wikipedia.org/wiki/Sortin...ing_algorithms
Reply


Messages In This Thread
Derby - Selecting a winner - by Ebisu - 31.07.2017, 08:47
Re: Derby - Selecting a winner - by Ebisu - 31.07.2017, 15:46
Re: Derby - Selecting a winner - by Tord - 31.07.2017, 16:24
Re: Derby - Selecting a winner - by Ebisu - 31.07.2017, 16:34

Forum Jump:


Users browsing this thread: 1 Guest(s)