The TDD, the BDD and the requirements
In previous article, we decide to change many system for enhancing game experience. Unfortunately, AI behavior and skill are typical complex system that need access information from environment and change some status. It is hard to prevent bug when changing a system which heavily depend on the interactions with other systems. Turns out, we need testing. Because there are so many system and functionality, it is important to separate irrelevant codes and what we want to modify. To regularize exist…