>>719939639
Exactly, game engines do this once before the game is built and deployed.
Many orders of magnitude more efficient than trying to brute-force it several times per second on every single gaming device separately while the actual game is executing.