game loops runs until attempt to update