The method is so simple. Replace line 61 with follows. X1=X1+((K AND #LEFT)!=0)*2 X2=X2+((K AND #B)!=0)*2 X3=X3+((K AND #L)!=0)*2 X4=X4+((K AND #R)!=0)*2 If you replace "*2" by greater value, the car will move faster.