A turned-based battle game in C language