🐍
Python Course
  • Course Outline
  • Course Organization
  • TAs
  • Material
    • Week 1
    • Week 2
      • Extensions
    • Week 3
      • Extensions
    • Week 4
      • Extensions
    • Week 5
      • Extensions
    • Week 6
    • Week 7
    • Week 8
    • Week 9
    • Week 10
  • Exercises
    • Week 1
    • Week 2
    • Week 3
    • Week 4
    • Week 5
    • Week 6
    • Week 7
    • Week 8
  • Solutions
    • Week 2
    • Week 3
    • Week 4
    • Week 5
    • Week 6
  • Additional
    • More Resources
    • Setting up Python
  • Lectures
    • Slides
    • Recordings
Powered by GitBook
On this page
  • Scratch
  • Tutorial
  • Building a scratch game
  • See what's possible

Was this helpful?

  1. Exercises

Week 1

Scratch and Thinking Algorithmically

PreviousWeek 10NextWeek 2

Last updated 5 years ago

Was this helpful?

Note: Besides setting up your anaconda python environment (see ), there is no "compulsory" homework this week. However, attempting some of the following exercises is highly recommended for people who have never had to develop algorithmic solutions to problems before.

Scratch

Scratch is a pedagogical programming environment which allows you to create surprisingly complex, interactive games by chaining together many "blocks" of code.

Tutorial

Start by visiting and completing the scratch tutorial. You will need a fairly modern browser for this to work.

Building a scratch game

Have a go at creating a simple game in scratch, for example:

  • Pong

  • Brick Breaker

  • Simon Says

The aim here is to learn to feel comfortable with the creation of blocks of instructions which perform the function you have in mind - you don't have to complete an entire game.

You can google any of these games and find that many people have already made very fancy scratch versions - try to at least see how they did this by clicking the "see inside" button when viewing their scratch project page

See what's possible

Harvard's CS50 course (on which this course is largely based) sets students a scratch challenge during the first week - you can have a look at some of the things people made at

is a particular highlight!

Setting up Python
https://scratch.mit.edu/projects/editor/?tutorial=getStarted
https://scratch.mit.edu/users/cs50/
https://scratch.mit.edu/projects/277537259/