People wrote their own game engines since the earliest of games
Lazy gets, using someone else's programming language. They should have developed their own language and written the compiler before starting to write a games engine for the game they wanted to make.