This is an archived version of the course. Please find the latest version of the course on the main webpage.

Chapter 3: Designing a guessing game

Designing an algorithm for the guessing game

face Josiah Wang

We will now try to design an algorithm for the guessing game.

Summary:

  • You design your algorithm (on paper!) after understanding the problem.
  • I have introduced two “basic building blocks” of programming in this video:
    1. Simple statement
    2. Selection