Tank game in C language