Going only in straight lines is no fun. We can't have a racing game without turning so we need to get that put in as well.
self.handling = 20
def turn(self, dir, dt): turnRate = self.handling * (2 - (self.speed / self.maxSpeed)) if(dir == "r"): turnRate = -turnRate self.cycle.setH(self.cycle, turnRate * dt)
cycleControl()method that calls
self.speedCheck(dt)to put the new method to use: