Create a vite web app. Create an isometric 2.5D game that has controls for rotating, panning (up, down, left, right, and angles) and zooming.
The game should be a simple tile builder (like legos) using Three.js. It should allow a user to build walls, water/rivers, trees, and dirt/grass.
The goal of the game is tower defense and should have a start and end part of the map where one side the user protects and the other is where the enemies come out of.
The game should show a game over state when the health is depleted and towers for defense can also have health bars and ways to upgrade.
When enemies are killed then the user collects gold for upgrades and resources.
The game should be low poly and a jungle theme.
Use a combination of procedural generation and wave function collapse to create the level maps with a seed that the user can regenerate if they want a new map.