11-08-2022, 04:11 PM
Nice. Without it, I'd probably just code:
Code: (Select All)
INPUT CarX.position, CarY.position
speedx = 1
IF CarX.position - CarY.position THEN CarX.position = CarX.position + (CarX.position - CarY.position) / ABS(CarX.position - CarY.position) * speedx
PRINT CarX.position
SLEEP
CLS
RUN
If eggs are brain food, Biden takes his scrambled.