controlling the main loops of both threads
guessing the size of tank and bullets