Click to select unit -- click at another location to send the unit there. Change unitMovementSpeed to a larger number to make units move faster, make the number smaller to make units move slower. You can incorporate this engine into your game(s).
=============== UPDATE: 25/02/2014 =============== Fixed glitch with unit selection.