Learning Programming with Fundamentals of Computing

A snippet of Python code that prints a welcome message.

Introduction to Interactive Programming in Python - Week 4

This week we learn how to create a canvas in Python and how to draw on the canvas. This is the first week where we get to start really interacting with our programs and fully understand the usefulness of event-driven programming.

This week's mini project is building a digital stopwatch and a very simple game where the player tries to stop the stopwatch on a whole second to score points.

Screenshot of Guess the Number website
A clone of this week's mini project, Stopwatch: The Game!, that I built in JavaScript, HTML, CSS, and Bootstrap.

Mini Project 4

This week's mini project is to build a digital stopwatch. To make the application more interactive, we'll add a score that increases whenever the player successfully stops the stopwatch on a whole second (i.e., when the stopwatch shows 0 milliseconds). To build this project, we need to do the following:

See my complete implementation of Mini Project 4 on GitHub.