15-112: Fundamentals of Programming and Computer Science
Week 6 Practice Problems
If you do any of these practice problems, be sure to convert them
from the previous frameworks into this semester's event-based animation
framework (based on
eventBasedAnimation.py).
- Thu night hw prep session
- Snake (based on this step-by-step tutorial)
- War (card game) (extends this Playing Card Demo)
- Fri recitation
- Connect4 (similar to
this example from s11)
Note: we also reviewed random.shuffle, random.seed, and (from Tetris) removeFullRows and rotatePiece.
- Connect4 (similar to
this example from s11)
- Additional practice
- Sudoku (based on f14-hw7)
- Othello (based on these s13-notes)
- 2048 (based on f14-hw7 bonus)
- Shape Invasion (based on s14-hw8)
- Sokoban (based on s14-hw8 bonus)
- Dots and Boxes (based on s14-hw8 bonus)