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.
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.
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.
Some project links –
http://code.google.com/p/phpwebsocket/
http://code.google.com/p/php-websocket-server/
With APE (based on C), you could real time communication between server and client.
http://www.ape-project.org/