Hitting trees and rocks will stop the game. Red flags will make you go faster and adds 1 to your score.