Learn Create Your Own Split Screen

Next Page

The next step is to add some code so something bad happens if the bird touches a pipe.

Again, we'll split it out into a separate function with an appropriate name.

That way our Do_a_Frame function doesn't get too complicated.