Balls with numbers are elements of the game 2048 Drop Merge. You will throw them down to get one of the numbers, which is the code for the lock hanging below. Balls need to be pushed together in twos of the same size to get the required amount of 2048 Drop Merge. As soon as the number appears, the castle will open and the balls will fall down to a new level.