CMU 15-112 Summer 2019: Fundamentals of Programming and Computer Science
Homework 3-1 (Due Wed 17-Jul, at 10pm)
- This assignment is COLLABORATIVE.
- This means you may discuss anything about the assignment with other students, but all code you write must still be your own.
- You may help other students debug by looking at their code and discussing how to debug it and what the issue might be.
- Do not type on another student's computer.
- Do not send any code to other students, and do not copy any code from other students.
- Before you implement any parts of the game, erase any large chunks of code from a whiteboard/paper/shared files/etc.
- Write the Andrew IDs of anyone you collaborate with at the top of your file.
- You may have a maximum of 3-4 collaborators for the homework.
- If you have any questions about what collaboration is allowed, email me (Chaya - cwurman@andrew.cmu.edu).
- To start:
- Continue adding code to the hw-tetris.py that you wrote for the Tetris checkpoint in hw2-3.
- When you are ready, submit hw-tetris.py to hw-tetris-final on Autolab. For this hw, you may submit up to 6 times, but only your last submission counts.
- This homework is not autograded. You will receive feedback after the deadline.
- Do not use recursion, sets, or dictionaries in this assignment.
- This homework may be graded for style.
- Tetris Final [100 pts] [manually graded]
All of your code for this problem should be written in hw-tetris.py and submitted to hw-tetris-final on Autolab!
In this assignment, we will be completing Tetris according to the design given in this step-by-step tutorial!
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 have to write code according to a specific algorithm, rather than writing code to solve a specific problem.
To get full credit, you'll need to complete the basic implementation according to the design spec. If you'd like to add extra features for bonus (see last page on the tutorial), then make sure to write a comment at the top of your file stating which extra features you did.
For the final, you should complete the rest of the tutorial (steps 5-7), and submit your completed Tetris program.
Have fun!!!