Java游戏服务器开发和网站、app服务端的开发都差不多的吗???实现的思路和方法
游戏技术要求:
网站、app后端要求:
PHP中文网2017-04-18 10:53:02
I have done some demo-level game servers and app APIs (actually the back-end API in the front-end and back-end separation project, almost the same)
I feel that the game server is more testing the interactive calculation of various units in the game, as well as network communication, including the subscription and push of messages (for example, players in the same room need to subscribe to each other and push each other on the game map coordinates and operations), the back-end API is more about business logic, processing, adding, deleting, modifying, and checking the submitted data.
In a scene like a national war game with hundreds of people fighting at the same time, how to consider optimizing the communication between them and reducing the computing pressure on the server will test the algorithm and underlying optimization, network communication optimization, etc., as well as anti-cheating and other requirements. Very high. Game development's requirements for Java, network, operating system principles, and design patterns are not at the same level as the APP back-end API.