Gamedaemon

The socket game server written entirely in php.

Links

What
Why
Documentation
Client information
News archive
Download
Clients
Sourceforge project page
FAQ

Status

As of 07-21-2015,
Gamedaemon will:
  • Allow users to chat
  • Allow private messages
  • Create/join games
  • start games
  • roll dice, track positions, turns, etc.
  • purchase property, determine money, etc:
  • Auctions, houses, trades, everything.
  • It is now fully functional!
  • Client API in place
  • PHP-GTK client complete!
TODO items:
  • Find/fix any remaining bugs
  • Username/password support and user rating system
  • Begin "BOT"

Documentation

In game help commands:
You only need to enter the first 3 letters of a command.
Type HELP <command> for more information.
Basic commands:
CONNECT <cookie> Resumes your prior game if you are disconnected.  You only have 60 seconds to do a reconnect.
JOIN <table number> Join a table (game)
GAMES View current tables and their status.
LEAVE Leave a table you have joined.
LIST List all users and their status.
LOCATION Show where you are and who is with you.
NEW Start a new table.
SAY Chat to those at your location (either table or lobby)
SHOUT Chat to all users who are not currently playing a game regardless of location.
START (from within a table) Start the current game.
TELL <username or number> Send a private message to that user.
Enter 'HELP MONOPOLY' for in game commands.


You only need to enter the first three letters of each command.
TOKEN - Select your token (when prompted).
ROLL - Roll the dice.
BUY - Buy the property you landed on.
NOBUY - Don't buy the property you landed on.
-Auctions-
BID <amount> Bid in the current auction.
-Properties-
MYPROPERTY (optional username) - Summary of the money and properties.
ALL - Summary of all players properties sorted by player.
SUMMARY - Summary of all properties sorted by property group.
MORTGAGE <property number> Mortgage the property.
UNMORTGAGE <property number> Unmortgage the property.
ADD <property number> - Buy a house on the property.
SELL <property number> - Sell back a house on the property.
BEAK <property number> - Sell all houses/hotels in a group.
-Trading-
TRADE - Initiate trade.  Show initial help.
TRADE <username> Initiate trade with username.
TRADE ADD <property number> Adds property to a proposed trade.
TRADE ADD <$+money> Adds money you get from the trade - $+500.
TRADE ADD <$-money> Adds money you will pay for the trade - $-500.
TRADE REMOVE <property number> Takes property out of the trade.
TRADE ABORT - Cancels current trade.
TRADE PREVIEW - View entire trade so far.
TRADE COMMIT - Executes the trade and makes the offer to the other player.
TRADE VIEW - If you have been offered a trade, you can use this to view it.
ACCEPT - Accept a trade.
REJECT - Reject a trade.
-Other commands-
PLAYERS - Show players, their space and money.
CARD - Use get out of jail free card to exit prison.
FINE - Pay the fine to get out of prison.
200 - For income tax choose the $200 option.
10% - For income tax choose the 10% option.
TURNS - List the turn order.
PAY - Used when mortgaged property is transferred to you via bankruptsy.

News

07-21-2015 23:38:59 GMT+0000
I'm alive again. I'm also re-thinking this project. Based on the apparent slow/lack of development on gtkatlantik and the discontinuation of development on monopd I may try to make this more compatible with the existing clients. Well see where we go.

07-21-2015 23:38:59 GMT+0000
OK. It's been a while. Blame it on health, alignment of the stars, neighbors dog, whatever you want. The PHP GTK team is working on PHP-GTK using GTK-2.6. I think I'll get back on this project when they release a new version. I've been trying to learn C, but it's been slow going. This isn't a forgotten project, just a postponed one.

07-21-2015 23:38:59 GMT+0000
0.3.1
Minor bugfix release. Fixed bug related to using PHP 5.x

07-21-2015 23:38:59 GMT+0000
0.3 is OUT!!!
After a lot of testing and a few fixes I'm finally ready to release 0.3. This has a working PHP_GTK client named gameclientgtk.php. The INSTALL included in the download tells you step by step how to compile and install PHP and PHP_GTK without the remote possibility of touching your production PHP. The interface is ugly but functional. It works fine for now.

07-21-2015 23:38:59 GMT+0000
RELEASE IMMANENT
PHP GTK client is DONE!!!! I haven't had enough time to test it as much as I need to so I haven't released it. However, it is in CVS for you early adapters. Fixed small bugs in the server programs as I found them. Look for a release very soon.

SourceForge.net Logo Support This Project