Raspberry Pi’s own Mac Bowley shows you how to make the beginnings of a top-down driving game inspired by 1983’s Spy Hunter.
Spy Hunter was one of the very first games with both driving and shooting.
Spy Hunter
The 1983 arcade classic Spy Hunter put players at the wheel of a fictitious Interceptor vehicle and challenged them to navigate a vertically scrolling road, destroying enemy vehicles.
Here, I’ll show you how you can recreate the game’s scrolling road to use in your own driving games. The road will be created using the Rect class from Pygame, with the road built from stacked rectangles that are each two pixels high.
Making the scrolling road in Python
First, I create two lists; one to hold the pieces of road currently being drawn on screen, and another to hold a queue of pieces that will be added as the road scrolls. To create the scrolling road effect, each of … // Read more: original article.

Previous post How to Add a Printer to Your Raspberry Pi (or Other Linux Computer)
Next post Let’s program Arduino with Microsoft Visual Studio 2017