Is this by chance inspired by the BASIC game "Chase" published by Creative Computing?
Indirectly. It's one of those classic games that's been on just about every platform since the 1980s or even 1970s. I'm not sure where it originated. I remember seeing it on a friend's Amiga.