1) What software stack do recommend for developing a new game?
2) How do I prevent cheating?
Unity requires installing a browser plugin before your game can be played. However the games might get more access to the computer's resources. Also it will be harder to cheat in a Unity-based game. Unity comes with an IDE that is geared towards game dev. And it should be easier to port your game to other platforms like iOS, Android, Switch, etc.
Links to these libraries and examples built with them:
See https://github.com/collections/javascript-game-engines for a list of game engines. ive used pixi.js and it’s a very good graphics library although it doesn’t have other “game-engine” features like physics (you could use matter.js which is a standalone physics library). Others recommend phaser which is a real game engine although it looks kind of dated.
For accounts, multiplayer, iap, etc. you’ll need a server. This can also be done in TypeScript or choose any other server framework. There are JavaScript libraries like Koa for web-socket communication.
2. Always know it’s an arms race