Tetris Final Project: I'm at Step 6, Part 3. I got the shape to drop to the bottom when I hit 'space'. Was hoping it could gradually sink, but it just vanishes and reappears at the bottom. Maybe it will make more sense when I get to the 'animate' part of the project. The write-up doesn't say what should be happening. Has anyone else implemented this differently?
MIT 6.189 A Gentle Introduction to Programming Using Python (OCW)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
Not quite there yet. Will be looking at that tomorrow night.
Since you seem already to have finished this:
In project 2 (The one just before the Tetris, where you make the board) I don't get what they want you to do at the first #YOUR CODE HERE
Some small explanation would be appreciated
@Screech : I managed to get this right using a while loop, win.after and win.update in the key_pressed section for spacebar. HTH
@Fertig : Think of the board as a series of blocks laid out in columns and rows. You need to draw each block onto the canvas to complete the board. You probably should be thinking about a for loop in a for loop to go through the rows and columns. HTH