Can the code in the server of Node.js be accessed by the client?

后端 未结 2 961
情书的邮戳
情书的邮戳 2021-01-26 14:54

I want to develop a game in NodeJS but i\'m not sure how much \'easily\' hackable it is. For example if i write my game rules in PHP modifing them will need the hacker to actual

2条回答
  •  花落未央
    2021-01-26 15:31

    Developing in nodejs means javascript on server. Javascript code on server which your players will not be able to see unless you open-source your game. This code won't be exposed to your players.

提交回复
热议问题