CMU 15-112 Fall 2016: Fundamentals of Programming and Computer Science
Lab 6 (Due Friday 7-Oct, at 8pm, no extensions or grace days)
- This lab is Collaborative. No solo work allowed. Work in groups of 2-3 (and the same group the whole time). See the syllabus for more details.
- Starter files: No starter files this week.
- This week you may use up to 6 submissions. Only your last submission counts. There is no autograder this week.
- Do not use recursion this week.
- Do not hardcode the test cases in your solutions.
-
Write Tetris according to the design given in
this step-by-step tutorial using our event-based animation framework
(starting with
events-example0.py).
You may not use a different design, even if you think there's a better way to do it (there probably is, but you still have to do it this way). This may seem limiting, but sometimes you are given specs at Polya Step 1 (just indicating the problem to solve), and other times at Polya Step 2 (also indicating the algorithms to use). This is one of those second kind of specs. Your task is to do Polya Step 3, and write the corresponding code, and then using this week's event animation framework.
Have fun!!!