Preface
We've got our pipes, now we need the pipe manager to handle the details.
Goals
Our goals for this chapter will be to create a pipe manager that can:
- 🎯 Spawn pipes at a set interval
- 🎯 Move pipes across the screen
- 🎯 Detect when a pipe has gone off the screen so we can remove it
- 🎯 Detect when a pipe has hit the bird so we can stop the game
Let's get to it!