I am a web developer turned game designer / lead game programmer

For some small ai related side projects, I’ve been trying to decide whether to write web apps or whether to write native apps (windows/macOS/iOS) that connect to a server

It occurred to me that I’ve never really had to make this choice before. I did web when I worked in web, and we use native for games for performance reasons

Why choose one over the other in cases where the server does the heaviest lifting? How do you decide?