Porting a PHP Based Web Game to Mobile Part 3

Now I know I said I would just use double digits for the edge cases, but after some internal deliberation, I decided, why not just use the unit sprites instead? We have to do it at some point anyway, ...