CMU 15-112 Spring 2018: Fundamentals of Programming and Computer Science
Colab 6 (Due Thursday 22-Feb, at 10pm)
- This assignment is collaborative.
That means you may work with other students enrolled in the course, and you may even help each other write code and debug. However, you must still type all of your own work, and you must fully understand the code that you submit. Even though this is collaborative, you may not directly copy any code from anyone, and you may not electronically share your code with anyone. See the syllabus for more details.
- List your collaboration partners (name and andrew id) in a comment on the first line of this file. If you collaborate with another student and do not include their name in a comment, it will be considered cheating. You may work alone if you want to, but we recommend working with others, as it generally leads to better learning.
- Be a good collaborator! Help everyone in your group, and accept
their help if you need it. Don't be in a hurry to finish the problems.
Instead, take your time and be sure that everyone in the group is
following and understanding. The goal is to learn, not just to finish.
- If you're looking for more people to collaborate with, you can request to be paired up with other 112 students using this form.
- To start:
- Create a folder named 'week6'
- Create a file named colab6.py based on the animation starter code.
- Edit colab6.py using Pyzo
- When you are ready, submit colab6.py to Autolab. You may submit as many times as you'd like.
- Do not use dictionaries or recursion this week.
- Do not hardcode the test cases in your solutions.
- Week5 Time Report [5pts]
First fill out this
week5 time report.
We very much need and value your thoughtful and accurate feedback in our quest to continue improving the course.
- Tetris [95 pts]
Write 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. Please submit this basic version (WITHOUT extra features) on Autolab under colab6. If you'd like to add extra features to your game for extra credit, create a second version of your Tetris file called colab6-bonus.py, add your bonus features in this file, and submit it on Autolab under colab6-bonus.