Create game loop sample