CMU 15-112 Fall 2017: Fundamentals of Programming and Computer Science
Lab 6 (Due Thursday 5-Oct, at 10pm)
- 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. Be sure to list your collaboration partners (name and andrew id) in a comment on the first line of your submitted file.
- Even though this is collaborative, you may not directly copy any code from anyone, and you may not electronically share your code with anyone.
- Be a good lab partner! Help everyone in your lab 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 lab group is following and understanding. The goal is to learn, not just to finish.
- To start:
- Use our animation starter code to set up a new file, called lab6.py.
- You should make use of this week's linter cs112_f17_week6_linter.py
- When you are ready, submit lab6.py to autolab. This lab is not autograded, so you may submit as many times as you'd like.
- Do not use recursion this week.
Reminder: do not work on these problems alone -- only work on them together with your lab partners!
- Group Form [5 pts]:
This week, we're changing group forms. You now only have to fill out one form found here. This is due Thursday by 11:59pm. Even if you work on the lab alone (which you shouldn't do), you should still fill out the form, and simply enter your name without any partner scores.
If you need a new group, fill out this form to be assigned to one. - 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 lab6. If you'd like to add extra features to your game for extra credit, create a second version of your Tetris file called lab6-bonus.py, add your bonus features in this file, and submit it on Autolab under lab6-bonus.
Have fun!!!