chorhatarahuduketuri / gc

GalacticConquest
0 stars 0 forks source link

Fix out-of-bound grid access. This wasn't evident when the grid was big. #27

Closed adrianlshaw closed 6 years ago

adrianlshaw commented 6 years ago

If you scrolled to the edge and then tapped the outermost sector, an out of bound access occurred. Stricter checking is now employed for both X and Y dimensions. This is done by determining the number of squares the screen is actually displaying based on the device's reported screen size.