Pseudocode for Tank AI