Outlined game loop