game has interval that redraws all the objects