From: Randy S. <ran...@gm...> - 2005-02-26 02:17:58
|
On Fri, 25 Feb 2005 18:10:13 -0800, Brett Lentz <wak...@ea...> wrote: > Selling stock will > 1. add stock value from player's cash-on-hand > 2. subtract the stock's value from the bank > 3. add the stock to the proper pile > 4. remove the stock from the player's pile > 5. move the company's chit down ---------- My PHP app essentially has this functionality already, although, self-taught as I am, I have no idea how OO it really is. There are objects for players, the bank, and a game object that tracks other stuff like the corporations. It's not specifically related to the Rails project, but I'd love it if any team members with PHP expertise would look at my code and tell me whether I'm on the right track. Randy... |