Is there a way to keep a code running? Without loops?
If you're not a fan of loops that's fine there is still another approach. Its called recursion. What recursion is it is usually a function that calls itself.
example
function game() -- do stuff here if repeatProcess then game() end end
What that function will is call itself until you stop it.
hope this helps