A gameloop that runs without dart:html or dart:io