"-import pygame" is flagged as invalid syntax; it would have helped if the author had explained how to get the snaps module. The book's "import snaps" is very poor communication and I am sure that entering all the code in the git hub sample will prove frustrating as well. Sorry but for a beginner, this does not illustrate the code very well.