Back to projects

Tower War

Tower war for me is not a simple game. It's a challenge. I made that game in TypeScript and React. No game engine, no previous experience with making games. I created the game based on the Canvas API, and zustand. I created the structure of the project to ensure scalability.

Tower War

One thing I regreted in the game is that I used React, which really added a layer of complexity to the development. I needed it only when updating the states to the DOM (e.g. coins, enemies, and health). And becuase of that, I got too many un-necassary re-renders. So that consumed time.

Generally speaking, I learned many things. From structuring the app, making it avaliable offline (implemented PWA), caching images, Zustand, and for sure OOP.