There will be a ?how to write a TD game? article using this game as a reference. Thus, it is intentional that it is not particularly complex.