Auzzy / 1846-routes-web

4 stars 2 forks source link

sort tiles by phase first #56

Closed Auzzy closed 4 years ago

Auzzy commented 5 years ago

Some of the tile IDs of like types are not sequential. For example, one of the phase 1 city tiles is 57, while the others are 5 and 6. In the tile selection display, this can cause confusion, since it may even be scrolled off the screen, and thus not look like an option.

Instead, I should sort tiles by their phase first, then their ID number.

Auzzy commented 4 years ago

https://github.com/Auzzy/18xx-routes-web/pull/40/commits/15fc0ae0f8a4a393a404d39221475c8e8c1a4e23