up: forward down: backwards left: turn left right: turn right
this is the exact hit detection engine used in my game TANK, so if anybody wants to use this for their games you are welcome, as long as you credit me in the process