fix collision detection when rotating; added game over condition