loop game vanilla js

function print_hello() {
  console.log("Hello!");
  // Continue playing the game - aka Recursive trigger motherfucker
  setTimeout(print_hello,500)
}

// Trigger aka Start Game
setTimeout(print_hello, 500);
Vivi