Food Force/Meeting Logs4

From OLPC
< Food Force
Revision as of 17:50, 25 February 2008 by 59.180.47.248 (talk) (New page: <MurielGodoi>hi deepank <Ankur> Hi <deepank> Muriel: I do not understand why we need two quantities of resources : one for market and another for village <deepank> Muriel : only one v...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<MurielGodoi>hi deepank <Ankur> Hi <deepank> Muriel: I do not understand why we need two quantities of resources : one for market and another for village <deepank> Muriel : only one village is there in the market <deepank> about the statsu update,written 70-80% of code of model.py <deepank> still learning python <MurielGodoi> by market I meant, available to purchase.

       <Ankur> 	The Market resources are not exclusively the village resources.

<deepank> you said that a market and a village will have different buying and selling prices * MurielGodoi is facing problems on open gmail mailbox using a linux live cd... <deepank> but that is not possible === murielgodoi, ankur, and anubhav are online. === muriel is offline. <Ankur> Village's selling and buying depends upon the market. <MurielGodoi> Have you played dopwars? <deepank> no <MurielGodoi> that is a classic trade game <Ankur> We have to take care about selling and purchasing for market only. The resources which are bought/sold from Market will have a direct effect on Village resources. Meaning to say, that we are only trading with market's resources. Muriel, Am I right? <deepank> muriel : i will send u the code <deepank> it is still incomplete and am stuck at modeling reources due to this [INFO] Channel view for “#olpc-foodforce” opened. -->| YOU (Anubhav) have joined #olpc-foodforce <Anubhav> Hello everyone <MurielGodoi> hello Anubhav <deepank> hello <MurielGodoi> consider the market as a external entity... the village will trade resources with i <MurielGodoi> it <Ankur> hi <MurielGodoi> each one has their own stock <deepank> yes ok ... i got all that <deepank> but the thing is how can they have different buying and selling prices <deepank> who will decide when village wants to sell at lets say 20 rupees while market says i will only buy in 10 rupees or market is offereing 30 <MurielGodoi> deepank: yep.. I am facing some problems with my X system <deepank> Muriel: which distro; which does not allow you to open gmail? <deepank> configuring xorg probs? <MurielGodoi> deepank: kubuntu.. it has konqueror as default web browser <deepank> try mozilla & from the terminal if there are problems with konquerer <deepank> I have never been a fan of KDE <Anubhav_> i believe the price of resources will be mantd. by the game engine, which will increase gradually when the village keeps on selling goods of same type, so that the village wont get the same money in return. For ex: for 100 food initially we are getting 100 units in return , but the second time we sell the 100 food we will get only 90 units back. All this can be mantd. by game engine <Ankur> This is okay. We can take average price. or we can have same selling price of village and buying price of market to reduce some complexity of our code. <deepank> Ankur: yes i will make those changes <MurielGodoi> Ankur: we can keep the same prices for this first step <Ankur> After designing the code for model.py, please tell us what should be ours next step. <MurielGodoi> Ankur: link the model with the gui <Ankur> Yes, then we can proceed further. The best way is to design a basic model first and then proceed complexity. <MurielGodoi> Ankur: and a very basic game engine <deepank> Muriel : You did not send the links about the game model <Ankur> Yes <deepank> Muriel:Are you able to open gmail thru Mozilla or is it not there in Kubuntu? <MurielGodoi> outch... sorry guys * MurielGodoi is installing firefox <MurielGodoi> deepank: abo?ut differents quantities in market and village is okay <MurielGodoi> deepank: about differents quantities in market and village. is it okay? <deepank> yes, see the code, I will take an average of the two prices <deepank> oh, sorry, i haven't sent the latest one. I will once it is complete <deepank> Muriel:What is the status of the repository and artwork <MurielGodoi> deepank: Ivan mailed me this weekend. He is not handling repository requests anymore. So he indicates me a new e-mail to request it. <MurielGodoi> so I re-sent the request to the new e-mail <Ankur> price = (self.buy_price + market.buy_price )/2 in get_buy_price...Right? <deepank> Muriel:ok <Anubhav_> ok <deepank> Ankur : yes <Ankur> THis is the only change required <deepank> market_price = self.buy_price + (((MAX_RES_VAL/2 - self.market_quantity)/MAX_RES_VAL) * PRICE_VARIATION) <deepank> village_price = self.buy_price + (((MAX_RES_VAL/2 - self.village_quantity)/MAX_RES_VAL) * PRICE_VARIATION) <deepank> and then <deepank> price = (market_price + village_price)/2 * MurielGodoi gots access to gmail <Ankur> Or we can do like this: whenever a person calls sell function parameter with the parameter to be sold and the amount, then only sell_price is calculated using get_sell_price(self) function, the corresponding return price being deducted from the village resource and also, the correponding village money being increased by value returned from buy_price function <deepank> Muriel:good <Ankur> thats good. <Ankur> This is what we we will aim at. <MurielGodoi> MurielGodoi: I need a time to take a better look into the code <MurielGodoi> and think about that formulas <Ankur> Sure, we can discuss this later then, if you wish. <MurielGodoi> can we meet again tommorow? <Ankur> For linking with GUI, we have to code foodforce.py right? <deepank> yes same time. <MurielGodoi> yep <Anubhav_> ya <deepank> ok bbye and lets meet tomorrow. can u upload a log of meeting on wiki, ankur <MurielGodoi> a last issue I wanna apologise for the last week <Ankur> My Internet at home is very slow. So, if you could this , it would be very helpful <Anubhav_> i willl do it <Anubhav_> no problems <deepank> thanks anubhav <MurielGodoi> just after the meeting I realize that I was at wrong time zone <Ankur> thanks <MurielGodoi> the Brasilian summer time finished two weeks ago <Ankur> Muriel. Thats okay. :). <MurielGodoi> see you tomorrow guys. thanks for all your ahr work <Ankur> Bye..thanks all! <--| Ankur has left #olpc-foodforce |<-- MurielGodoi has left freenode (Remote closed the connection)