How is the lane/position of each falling tile determined? Is it random or is there a pattern?
I am referring to the mobile game Piano Tiles - Dont Tap The White Tile ( iOS | Android ).
How is the lane/position of each falling tile determined? Is it random or is there a pattern?
I am referring to the mobile game Piano Tiles - Dont Tap The White Tile ( iOS | Android ).
After looking at the code of the game, yes, it does use a random algorithm.
It depends on the game mode. If you're in a pro mode, then the tiles cannot show up twice in a row. So the game will randomly generate the next tile in one of the three positions the previous tile was not in.
If you are not in pro mode, then it is random. It picks one of the four spots, puts the tile there, goes to the next row, picks one of the four spots, puts the tile there, and repeats.
I have only played the iOS version. I don't see why it would be different in the Android version.