phudbase-1.11.tar.gz

Uploaded: 09 Feb, 2010
Previous uploads by this submitter: 0

Author: John DeLancey

Downloads: 64

PHudBase is a library divided into two parts: the "server" (backend) and "client" (the client is really just a demonstration of the WebSocket features).

The server is run as a daemon on the Linux-based server. It sets up one or more socket servers that will wait for clients to connect and start playing, chatting, or whatever else your application does. It's also very "extendable" (a GameServer example is included), allowing your server to parse client inputs directly, create custom connection and communication protocols, etc.

Also included is the Game class, useful as a starting point for building your own MUD-style game, and a few sample object implementations (Character and Room) and actions (look, say, and movement commands).

PHudBase does not ship with any kind of database implementation, so you're free to implement MySQL, flat files, or any other storage mechanism supported by PHP.

See PHudBase Homepage for links to the Google Code project and client demo.

v1.11 – improves on connection management for WebSocket vs Telnet clients