Chapter 8. Tank Battles – Ending the War
We almost have a playable game on our hands now!
In this chapter, we will finish up the Tank Battles game by covering the following tasks:
Creating a basic game flow structure to surround the game play
Cycling between game states based on player input and the results of the gameplay
Allowing two players to take turns adjusting their aim and firing shots
Determining when a player has scored a hit on the opposing tank – or their own
Enhancing the visual appeal of our terrain by adding lighting and multitexturing effects