我正在开发一个游戏,也有一个想法,一个游戏,一直在学习,我想我需要为项目的语言。这是全球热核战争的一个简单的基于Web的2播放器基于文本的克隆。
I am developing a game, well have an idea for a game and have been learning the languages I thought I needed for the project. It's a simple web based 2 player text based clone of Global Thermonuclear War.
玩家通过一个PHP的形式登录,并自动匹配。游戏的逻辑很简单。玩家A挑选的玩家B的领土攻击之一,此举去,然后将其发送给玩家B.玩家B则使一招服务器和它去,直到没有领土离开了。我一直在学习JavaScript和Ajax,可以在PHP中得到解决。
Players login via A PHP form and are automatically matched. The game logic is fairly simple. Player A picks one of Player B's territories to attack, the move goes to the server which then sends it to Player B. Player B then makes a move and on it goes until there are no territories left. I've been learning Javascript and AJAX and can get around in PHP.
我遇到的问题是,我似乎无法找到有关在PHP创建游戏服务器什么。
The problem I'm having is I can't seem to find anything relevant to creating game servers in php.
一个人能否提供一些材料,我可以读了,或者从这里走。
Can someone suggest some material I could read up on, or where to go from here.
有些项目链接 -
HTTP://$c$c.google.com/p/phpwebsocket/
HTTP://$c$c.google.com/p / PHP-的WebSocket服务器/
通过APE(基于C),你可以实时的服务器和客户机之间的通信。
With APE (based on C), you could real time communication between server and client.
http://www.ape-project.org/