That’s not terrible parenting! You aren’t actually so incapacitated that you need medicine - he just wants to play, and you’re actually giving him a great game.
Shit parenting is going to the pub for a pint and taking an iPad for the boy to play on, like I’ve just done. (You can’t heat an afternoon pint in a quiet pub though, and it killed the time that needed to be filled before I started cooking our roast)