Here are some assignments that I’ve previously given in this course. You might find them helpful for practice!


4 Apr 2023 Crossword

Write some Python functions to work with crosswords.

14 Feb 2023 Election simulator

Implement an election simulator.

1 Apr 2022 Music

Parse a description of musical notes into frequencies and durations.

22 Mar 2022 Chess

Write Python modules that form the foundation of a chess game.

8 Mar 2022 Shift cipher

Write a Python function to perform a shift (Caesar) cipher.

5 Apr 2021 Checkers

Write a module to manage a game of checkers.

21 Mar 2021 Poker

Write a function to compare poker hands.

14 Feb 2021 Scrabble scores

Write functions to compute letter and word scores in the Scrabble board game.