This small segment of code checks to see if the board changes when it moves, and if it doesn't, no new tile is added. This is the only bug I could find so far that makes it different from the original game.