How can I create a stack to the top game on python?

Im working on pygame and trying to create a stacking game, I have the basics.. the blocks are moving but when one of them stacks, and I hit space the previous blocks dissapear.
Asked Jan 13, 2013

TIP: If it's not your answer to this question, please click "Leave a Comment" button under the question to communicate with the question owner.