With these mods, this circuit will last quite a long time, especially if you make things easier for the relay by turning off power to the motor before switching directions. It is simple and effective ...
There was a time when building electronics and building software were two distinct activities. These days, almost any significant electronic project will use a CPU somewhere, or — at least — could.