I would estimate that the logic side of the game comprises approximately 3,000 lines of code, while the supporting user interface (UI) accounts for 5,000 lines of code. However, this doesn’t fully capture the entire picture. The complexity of the code varies across different parts of the game. Leveraging web technologies likely saved me around 10,000 lines, and using Svelte, in particular, shaved off another 5,000 lines. Ultimately, the heavy lifting is handled by web browsers and Svelte.