you can try this :
a little game, almost the same with yours. not finished yet.
use keys: w , s , a , d to move the tank and mouse to control the turrent direction, and mouse's left button click to fire a bullet.
mouse's right button pressed for locking the turrent direction.