另外,当需要扩大游戏容量时,在每一层中都可以增加服务器。
In addition, when game capacity needs to be expanded, servers are added to each layer.
从基础结构的角度来说,过去可以构建一个通用的在线游戏服务器基础结构,支持任何能够连网的客户机平台。
From an infrastructure perspective, it used to be the case that you could build an online game server infrastructure that would support any online-capable client platform.
但为了让事情变得简单,我放弃使用这种方法,而是集中讲述存储游戏数据、在客户端与服务器之间通信,以及打造前端的基础知识。
To keep it simple, though, I forgo this approach to concentrate on the basics of storing the game data, communicating between the client and server, and building the front end.
尽管界面如此丰富,但是在客户机上只有两个技术指标对游戏的服务器基础结构有影响:网络吞吐量和延迟需求。
With so much rich interface at one's disposal, only two technical metrics on the client have any impact on the game's server infrastructure: network throughput and latency requirements.
您在一个服务器上运行一个应用程序(在这种情况下,应用程序是一个在线游戏)。
At this generic level, it does. You have an application that you will run in a server (in this case, the application is an online game).
在许多情况下,简单在线游戏的几个实例运行在一个服务器上,它们甚至不必相互通信。
In many cases, several instances of simple online games run on a single server and don't even have to communicate with each other.
通常使用套接字连接游戏服务器,常常使用UDP。
Socket connections to the game servers are common, often using UDP.
在略微复杂一点儿的情况中,服务器平等地相互通信来支持多玩家在线游戏。
In slightly more sophisticated cases, servers communicate with each other as equals to support the multiplayer online game.
最后配对显示如何断开客户端从服务器室当用户结束他或她的游戏。
The final pairing shown is how to disconnect the client from the server room when the user ends his or her game.
如果实现的方式合适的话,游戏将会自动地开始使用新的服务器。
If implemented properly, the game engine will begin to utilize the new servers automatically.
至于游戏产业,他们的优势在于拥有自己的在线服务器,不需要通互联网运营商便可自行解决问题。
The games industry has an advantage because companies control their own online services and do not have to rely on Internet service providers to cut off pirates.
然而,进行这些工作的软件往往都是独有的,即每一个游戏都要求运行在自己的客户端和服务器软件下。
The software that does this, however, is proprietary: each game requires its own client and server software.
由于游戏API已经就绪,是时候编写处理步着的服务器代码了。
With the games API out of the way, it's time to write the server code to handle the moves.
服务器玩的就是等待游戏,只需要等待客户机连接到达即可。
Servers play the waiting game, just waiting for an incoming connection.
在理想情况下,一台数据库服务器就能够处理游戏的全部负载,但是使用两台可以在成本和风险之间取得合理的平衡。
Ideally, each is sized so that it can handle the entire load of the game shard, but it is reasonable to balance economics with risk.
对于mmog来说,关键瓶颈很明确——游戏服务器与客户机之间的链路。
To anyone who has worked on an MMOG, the key bottleneck is painfully obvious — the link between the game server and the clients.
整个“宇宙”还包括游戏,博客和电子邮件插件,功能性软件,分析和搜索工具,购物服务器,网址简化器等等。
There are also games, blog and email plugins, utilities, analytics and search tools, shopping services, URL shortners and so much more.
而且,快速移动的在线游戏必须要有离玩家比较近的服务器作为主机。
And fast-moving online games must be hosted near their players.
在多玩家游戏(multi - player game)中,一个服务器托管了2到64位玩家。
In multi-player games groups of 2 to 64 players are hosted by a single server.
要验证已连接上服务器,您可以在服务器上通过curl命令来执行moves.php脚本,从而获取游戏动作的最新列表。
To verify that the server was connected, you can execute the curl command against the moves.php script on the server to get the most recent list of game moves.
这个小的航空器有一个电影数据媒体下载程序,叫做HIC观看,可以连接到Onlive上,Onlive是一种在线服务器,可以提供用户多种游戏,而无须购买专门的硬件。
The Flyer has a movie streaming and downloading application called HTC Watch, as well as access to OnLive, an online service that lets people play elaborate games without buying specialized hardware.
30日凌晨4时,网易"魔兽世界"开启持续约一周的内测,期间现有玩家可登录服务器免费游戏。
The online game World of Warcraft was released in closed beta status by new publisher NetEase at 4 am Thursday, with 7-day free access granted to anyone who was already a registered member.
游戏的基础结构提供商提供游戏服务器,玩家可以连接到任何游戏服务器。
The games can connect to any game server, as required by the infrastructure provider of a specific game.
与《孤岛惊魂》那种人机对抗的游戏不同,CS属于多人网络游戏,需要玩家连上游戏服务器,和其他人在战争场景下共同进行游戏。
Unlike Far Cry, which also allows you to play against the computer, CS requires that you connect to a game server and play with many other people in a war-like setting.
当然不会了,我们应该使用户能够向服务器提交当前游戏并获得一个新游戏。
No, you need a way to enable the user to submit the current game to the server and get a new one.
为了支持MMOG中的大量用户,游戏的服务器端是由数十或数百台服务器组成的复杂配置,各个服务器执行不同的功能。
To support the massive number of players that make up the "m" in MMOG, the server side of the game is a complex configuration of dozens or hundreds of servers that perform various functions.
数据库层上面的一层常常称为游戏引擎(或游戏服务器)。
On top of that is a layer commonly called the game engine (or game server).
数据库层上面的一层常常称为游戏引擎(或游戏服务器)。
On top of that is a layer commonly called the game engine (or game server).
应用推荐