Our this week aim was to check if the person clicks on the right tile or not, and if any tile goes out of the screen without being clicked.
For that we made Button class in it we introduced a function click, the purpose of this function was to take the x,y coordinates of the point where player clicks and then check if that point was in the range of height and width of the generated tile. Then we initiated a dictionary, and appended all the tiles generated on the screen in it. And then we started a while loop until any tile was missed or any white space was pressed, we increased our tiles speed and score in this loop.
Now there is one problem that if I press twice on the same tile, it breaks that while loop. So next we will work on this problem and will add menu screen, end screen, and music.