Congratulations! I had completed a version of tower defense game yesterday.
Although most of them are made by reference to the sample program,
but I learned a lot from the implementation.
I added some new elements, different from the sample program.
One is providing different tanks for construction, these tanks can help
player to beat the enemies. Each tank has different characteristics,
but currently only in attribute values.
Second, these tanks cannot be upgraded, but they can be sold.
We can get some coins after the sale, and the place where it was built
will be returned to the empty space. And then you can built new tank.
But the design will reduce some fun, maybe the upgrade system will be
added later.
Third, now we have different kinds of the enemies, they will bring different
changes. I hope I can add an upgrade system in the future. The system
can upgrade some attributes of our camp, such as the attack speed and
attack range of our tank, increase the output of coins obtained by
defeating the enemies, increase the HP of our castle, etc.
It's fun to think about it.