Food Force/Meeting Logs2: Difference between revisions

From OLPC
Jump to navigation Jump to search
(replace with more readable format)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Session Ident: #olpc-foodforce
Session Ident: #olpc-foodforce


Participants:
�03[22:18] * Now talking in #olpc-foodforce


'''MurielGodoi, deepank, Ankur, Anubhav'''
�01[22:19] <Ankur1> Hello Muriel


'''<Ankur>''' We formalized the discussion and also ran the code. We have not put on the net the document you sent us, but we modified it to some extent.
[22:20] <@MurielGodoi> hi Ankur


�01[22:26] <Ankur1> We formalized the discussion and also ran the code.


'''<MurielGodoi>''' I requested ivan to move the food force project to the main git tree
�01[22:26] <Ankur1> Sorry for delay.


'''<MurielGodoi>''' I would like to know your opinion about the ff-2 interface considering ff1 game
[22:27] <@MurielGodoi> Ankur, that is okay


'''<deepank>''' Other than limiting the gamer to just buying and selling; we can give more controls to user by allowing him to have a say in the facilities building
[22:29] <@MurielGodoi> Is Anubhav around?


�01[22:30] <Ankur1> Yes Anubhav is with me.


'''<MurielGodoi>''' I was thinking something when you pass the mouse over the facilities
�01[22:30] <Ankur1> His net expired today itself so he came here.


'''<deepank>''' Yes that can be done; all vital statistics of facilities are displayed when mouse is moved over them and they can be played around with
[22:31] <@MurielGodoi> good


'''<MurielGodoi>''' maybe it can open a dialog displaying the facility status and expansion options, like school level2
[22:32] <@MurielGodoi> Where did you store the document?


'''<ANkurANubhav>''' yes and the health of the building e.g when a building is being constructed, its progress can be displayed And after some time, building can be upgraded with utilization of some resources providing more facilites.
�01[22:32] <Ankur1> We have not put on the net the document you sent us, but we modified it to some extent.


'''<MurielGodoi>''' the hospital can blink in red when it need more resources
�03[22:33] * deepank_ (n=chatzill@59.178.41.58) has joined #olpc-foodforce


'''<deepank>''' yes and the windows blinking red would give a good effect
[22:34] <@MurielGodoi> Could you mail me the doc?


'''<MurielGodoi>''' I agree. but by now we have move work to do in game model
�02[22:35] * deepank (n=chatzill@59.178.57.107) Quit (Read error: 113 (No route to host)�)
�03[22:36] * deepank_ is now known as deepank


[22:36] <@MurielGodoi> I requested ivan to move the food force project to the main git tree


==Model==
[22:37] <deepank> Ok. So where can we access it now.


[22:37] <@MurielGodoi> but i also need to send the users and ssh2 keys
'''<MurielGodoi>''' I think we can set tasks


1) game model
[22:37] <@MurielGodoi> I think he is waiting for the users and do all at once


ps: basic game movel
[22:38] <deepank> I will send in my user name and ssh key to you.


2) method to allow game model set the gui elements
[22:38] <@MurielGodoi> I need your username e-mail and ssh2 key for that
[22:38] <@MurielGodoi> thanks


3) method to allow gui elements send info to the model
Session Close: Mon Feb 11 22:42:53 2008


I think we need that done before start new issues
Session Start: Mon Feb 11 22:42:53 2008


Session Ident: #olpc-foodforce
�02[22:42] * Disconnected


'''<deepank>''' Can I ask one very basic question. What exactly is a game model? ... I mean does it include simulation or the classes of objects in the game
�02[22:43] * Attempting to rejoin channel #olpc-foodforce


'''<MurielGodoi>''' it includes data structures and as start a full simulation, forget AI for now including the method turn, which will process the simulation. as a first step the data structure is enough, methods to set the data like school.addRecource('book', 45) or hospital.consumeRecource('medicine', 20)
�03[22:43] * Rejoined channel #olpc-foodforce
�01[22:45] <Ankur> I have also sent my username and ssh key to your mail.


'''<MurielGodoi>''' I think 2 guys on data structure and 1 coding methods to show the data status in the gui. forget the animation for now
[22:45] <@MurielGodoi> Ankur: got ti


'''<deepank>''' hmm. We will need data structures for the resources : Water, medicine etc and facilties. Also internal structures like number of villagers, properties of villagers
[22:45] <@MurielGodoi> s/ti/it


'''<MurielGodoi>''' there is a general resources class in the git. just the skeleton. general classes: resource, facility and indicator, 1 for the village aspects as money, resource stock, so we create the specific ones which extends the general and instantiates it. facilities and indicators should have the method next_turn which will be called on each turn to update the values
�01[22:45] <Ankur> ?


'''<deepank>''' ok got it ... in which file is the resource class present? the dummy one in the present source code folder
[22:47] <@MurielGodoi> Ankur: I already check your e-mail


[22:49] <@MurielGodoi> deepank: Do you need any help on getting your ssh2 key?
'''<MurielGodoi>''' model.py That is incomplete, but maybe you can use that as a start


'''<MurielGodoi>''' What do you think about: 2 guys on data structure and 1 coding methods to show the data status in the gui as the next step?
[22:49] <deepank> Yes, Should I generate an RSA key or DSA based ssh2 key


'''<deepank>''' Would we need to create subclasses of base class like Indicator for different indicators like health nutrition etc because most of the elements will be same
�03[22:51] * Retrieving #olpc-foodforce modes...


[22:53] <@MurielGodoi> deepank: I confess I'm in doubt. I think rsa
'''<MurielGodoi>''' depending on the modeling... If we get a good generic class it is not needed


'''<deepank>''' I don't think we will not need it most probably ... depends on modelling though
[22:54] <@MurielGodoi> I have both in my .ssh folder, but i didn't remember each one i sent


'''<MurielGodoi>''' so we can set the formula in a way like that: health.addWeight('Hospital': 0.6, 'Housing': '0.2', 'School': 0.2) so the health status will be hospitalstatus*0.6+housing status*0.2 + school*0.2
[22:54] <deepank> Ok ... I have generated RSA key ... it is the default option. But got confused since u mentioned explictly ssh2 key


'''<ANkurANubhav>''' So for our next step, we will make the classes specific and then show the status on gui.
[22:55] <deepank> sent the key thru email.


'''<deepank>''' I think we must first do the data modelling before directly making the classes
[22:56] <@MurielGodoi> I will request Ankur and deepank users, and will do a new request for Anubhav user
[22:56] <@MurielGodoi> ok thanks


'''<ANkurANubhav>''' Yes, that could be done. We could model the data and make a document on it.
[22:57] <@MurielGodoi> I would like to know your opinion about the ff-2 interface considering ff1 game


'''<deepank>''' using ER diagrams; because as i feel it now; there are a lot of chances of missing some data elements
Session Close: Mon Feb 11 22:58:08 2008


'''<ANkurANubhav>''' After finalizing it, we can make the code and classes.


'''<deepank>''' What do u think Muriel?
Session Start: Mon Feb 11 22:58:08 2008
Session Ident: #olpc-foodforce


'''<MurielGodoi>''' deepank: maybe class diagrams. I wonder about the advantages of ER over the class considering that python is oo
�02[22:58] * Disconnected


'''<deepank>''' hmm ... Class diagram will be better and more direct. it will directly get coded in python too
Session Close: Mon Feb 11 22:58:31 2008


'''<MurielGodoi>''' deepank: you got it. it is easier to transfer to the code... it is natural


'''<deepank>''' yes... but we are always taught to first make ERs before class diagrams; though in this case we can easily jump over to class diagarams since we comprehend the problem very well
Session Start: Mon Feb 11 23:01:18 2008


'''<MurielGodoi>''' well... if ER diagram helps you to better understand the problem, so you are free to do that. The important is get a good data structure
Session Ident: #olpc-foodforce


'''<deepank>''' I feel in this problem we can skip over it since, I feel like I have a good understanding of problem
Session Close: Mon Feb 11 23:01:18 2008


'''<ANkurANubhav>''' Yes, we will make the classes and meet this friday with the ER models from which we make classes.
Session Start: Mon Feb 11 23:01:18 2008
Session Ident: #olpc-foodforce


�03[23:01] * Now talking in #olpc-foodforce

[23:01] <@MurielGodoi> I agree about the artwork...

[23:01] <deepank> One more idea : Other than limiting the gamer to just buying and selling; we can give more controls to user by allowing him to have a say in the facilities building

�02[23:02] * Ankur1 (i=Anks@221.134.239.224) Quit (Read error: 110 (Connection timed out)�)

�06[23:02] * ANkurANubhav slaps Ankur around a bit with a large trout

�06[23:02] * ANkurANubhav slaps ANkurANubhav around a bit with a large trout

[23:03] <@MurielGodoi> I was thinking something when you pass the mouse over the facilities

[23:04] <deepank> Yes that can be done; all vital statistics of facilities are displayed when mouse is moved over them

[23:04] <deepank> and they can be played around with

[23:04] <@MurielGodoi> maybe it can open a dialog displaying the facility status and expansion options

[23:04] <@MurielGodoi> like school level2

[23:05] <deepank> yes exactly

�01[23:05] <ANkurANubhav> yes and the health of the building..e.g when a building is being constructed, its progress can be displayed

�01[23:05] <ANkurANubhav> And after some time, building can be upgraded.

�01[23:06] <ANkurANubhav> with utilization of some resources.

�01[23:06] <ANkurANubhav> providing more facilites.

[23:07] <@MurielGodoi> good

[23:07] <@MurielGodoi> the hostpital can blink in red when it need more resources

[23:07] <deepank> yes and the windows blinking red would give a good effect

[23:07] <@MurielGodoi> I agree.. but by now we have move work to do in game model

[23:07] <@MurielGodoi> I think we can set tasks

[23:08] <@MurielGodoi> 1) game model

[23:08] <@MurielGodoi> ps: basic game movel

[23:08] <@MurielGodoi> 2) method to allow game model set the gui elements

�01[23:08] <ANkurANubhav> Yes, It would be good.

[23:09] <@MurielGodoi> 3) method to allow gui elements send info to the model

[23:10] <@MurielGodoi> I Thing we need that done before start new issues

[23:10] <@MurielGodoi> s/thing/think

[23:11] <deepank> yes.

[23:11] <deepank> Can I ask one very basic question

[23:11] <@MurielGodoi> sure

[23:11] <deepank> What exactly is a game model ... I mean does it include simulation or the classes of objects in the game
�01
[23:12] <ANkurANubhav> Yes, Any information on it would be very helpful.

[23:13] <@MurielGodoi> it includes data strutures and as start a fool simulation, forget AI for now

[23:13] <@MurielGodoi> including the method turn, which will process the simulation

[23:13] <@MurielGodoi> as a first step the data structure is enough

[23:14] <@MurielGodoi> methods to set the datas

[23:14] <@MurielGodoi> like school.addRecource('book', 45)

[23:15] <deepank> ok

[23:15] <@MurielGodoi> hospital.consumeRecource('medicine', 20)

[23:16] <@MurielGodoi> I think 2 guys on data structure and 1 coding methods to show the data status in the gui

[23:16] <@MurielGodoi> forget the animatino by now

[23:17] <@MurielGodoi> s/animatino/animation

[23:17] <deepank> hmm. We will need data structures for the resources : Water, medicine etc
[23:17] <deepank> and facilties
[23:17] <deepank> Also internal structures like number of villagers, properties of villagers
�03[23:18] * Retrieving #olpc-foodforce modes...

[23:18] <@MurielGodoi> there is a general resources class in the git

[23:18] <@MurielGodoi> just the skeleton

[23:19] <@MurielGodoi> general classes: resource, facility and indicator

[23:19] <@MurielGodoi> 1 for the village aspects as money, resource stock

[23:20] <@MurielGodoi> so we instantiate the specific ones which extends the general

�02[23:20] * Ankur (i=Anks@221.134.239.224) Quit (Read error: 110 (Connection timed out)�)

[23:20] <@MurielGodoi> ops: so we create the specific ones which extends the general and instantiates it
[23:22] <@MurielGodoi> facilities and indicators should have the method next_turn

[23:22] <@MurielGodoi> which will be called on each turn to update the values

[23:23] <deepank> ok got it ... in which file is the resource class present

[23:24] <deepank> the dummy one in the present source code folder

[23:25] <@MurielGodoi> model.py

[23:26] <@MurielGodoi> That is incomplete, but maybe you can use that as a start
[23:28] <deepank> ok

[23:29] <@MurielGodoi> That you think about: 2 guys on data structure and 1 coding methods to show the data status in the gui as the next step?

[23:29] <deepank> Would we need to create subclasses of base class like Indicator for different indicators like health nutrition etc

[23:30] <deepank> because most of the elements will be same

[23:30] <@MurielGodoi> depending on the modeling...

[23:30] <@MurielGodoi> If we get a good generic class it is not needed

[23:34] <deepank> I don't think we will not need it most probably ... depends on modelling though

[23:34] <@MurielGodoi> so we can set the formula in a way like that: health.addWeight('Hospital': 0.6, 'Housing': '0.2', 'School': 0.2)
[23:34] <@MurielGodoi> so the health status will be hospitalstatus*0.6+housing status*0.2 + school*0.2
[23:34] <deepank> ok
[23:35] <@MurielGodoi> there is more question about the modeling?
[23:39] <deepank> no
[23:39] <@MurielGodoi> sorry, I still didn't find where is the extended doc

�01[23:39] <ANkurANubhav> I will just mail it to you or post it on some link on wiki

[23:39] <@MurielGodoi> about the next task you can talk each other to split the subtasks considering your habilitioes
[23:39] <@MurielGodoi> ANkurANubhav: please mail-me

[23:40] <@MurielGodoi> when we can set the next meeting?

[23:40] <deepank> I think we can have the next meeting on Thursday

[23:41] <deepank> and in the meantime, we can mail you in case of difficulties
[23:41] <@MurielGodoi> sure you can

[23:42] <deepank> Thanks

[23:42] <@MurielGodoi> by now I don't have time to code, once I got my master degree issues solved I can help you mode

[23:42] <@MurielGodoi> s/mode/more

�01[23:42] <ANkurANubhav> So for our next step, we will make the classes specific and then show the status on gui

[23:42] <@MurielGodoi> resuming:

[23:43] <@MurielGodoi> exact :)
�01[23:43] <ANkurANubhav> That would be very helpful as we are also very busy in our collegse studies. and our placements are coming soon.

[23:43] <deepank> I think we must first do the data modelling before directly making the classes

�01[23:44] <ANkurANubhav> Yes, that could be done. We could model the data and make a document on it.

[23:44] <deepank> using ER diagrams; because as i feel it now; there are a lot of chances of missing some data elements
�01[23:44] <ANkurANubhav> After finalizing it, we can make the code and classes.

[23:44] <deepank> What do u think Muriel?

[23:45] <@MurielGodoi> deepank: maybe class diagrams

[23:45] <@MurielGodoi> I wonder about the advantages of ER over the class

[23:45] <@MurielGodoi> considering that python is oo

[23:47] <deepank> hmm ... Class diagram will be better and more direct

[23:47] <deepank> it will directly get coded in python too

[23:47] <@MurielGodoi> deepank: you got it

[23:48] <@MurielGodoi> it is easier to transfer to the code... it is natural

[23:51] <@MurielGodoi> Anything else?

[23:51] <deepank> yes... but we are always taught to first make ERs before class diagrams; though in this case we can easily jump over to clas diagarams

[23:51] <deepank> since we comprehend the problem very well

[23:51] <deepank> No... thanks very much for your time. Let us meet same time around on Thursday

[23:51] <@MurielGodoi> well... if ER diagram helps you to better understand the problem, so you are free to do that

[23:52] <@MurielGodoi> The important is get a good data structure

[23:52] <@MurielGodoi> could someone post the log of this meeting on the wiki?

[23:53] <deepank> I feel in this problem we can skip over it since, I feel like I have a good understnanding of problem

[23:54] <@MurielGodoi> deepank that is okay... you are free to decide

[23:54] <@MurielGodoi> so

[23:54] <@MurielGodoi> next meeting Thursday 11:30 EST

[23:54] <@MurielGodoi> thanks all for you patience and time

�01[23:54] <ANkurANubhav> Yes, we will make the classes and meet this friday with the ER models from which we make classes.

�01[23:55] <ANkurANubhav> Thanks for your time and co-operation.

[23:55] <@MurielGodoi> Mail-me if you have any question.

[23:55] <@MurielGodoi> the meeting is over

�01[23:55] <ANkurANubhav> Sorry, for the timing clash. We all will meet on Friday. I think it wont be a problem.

�01[23:56] <ANkurANubhav> Friday is okay.

�01[23:56] <ANkurANubhav> ?

[23:56] <deepank> Okay with me

[23:56] <deepank> Muriel?
[23:56] <@MurielGodoi> okay... can it be Fryday

[23:56] <@MurielGodoi> s/Fryday/Friday

[23:56] <deepank> so Next meeting : Fridat 11:30 EST

[23:56] <@MurielGodoi> all set :)

�01[23:56] <ANkurANubhav> Yes, sure. We will meet on Friday. Thanks for your time. We will keep mailing our doubts.

[23:57] <deepank> Good ight to all of you. Ankur, please save the log

[23:57] <@MurielGodoi> night all


�01[23:58] <ANkurANubhav> yes, I will put the log and also the document which muriel sent me on the wiki.

�01[23:58] <ANkurANubhav> Thanks. Good Night.

�03[23:58] * deepank (n=chatzill@59.178.41.58) has left #olpc-foodforce

�02[23:58] * @MurielGodoi (n=msgodoi@201-27-196-140.dsl.telesp.net.br) Quit (Remote closed the connection�)


Session Time: Tue Feb 12 00:00:00 2008
Session Time: Tue Feb 12 00:00:00 2008
Line 357: Line 101:


== Meeting Ends ==
== Meeting Ends ==





Line 363: Line 106:
[[Category:Nutrition]]
[[Category:Nutrition]]
[[Category:Software]]
[[Category:Software]]
[[Category:Games]]

Latest revision as of 04:23, 5 April 2008

Session Ident: #olpc-foodforce

Participants:

MurielGodoi, deepank, Ankur, Anubhav

<Ankur> We formalized the discussion and also ran the code. We have not put on the net the document you sent us, but we modified it to some extent.


<MurielGodoi> I requested ivan to move the food force project to the main git tree

<MurielGodoi> I would like to know your opinion about the ff-2 interface considering ff1 game

<deepank> Other than limiting the gamer to just buying and selling; we can give more controls to user by allowing him to have a say in the facilities building


<MurielGodoi> I was thinking something when you pass the mouse over the facilities

<deepank> Yes that can be done; all vital statistics of facilities are displayed when mouse is moved over them and they can be played around with

<MurielGodoi> maybe it can open a dialog displaying the facility status and expansion options, like school level2

<ANkurANubhav> yes and the health of the building e.g when a building is being constructed, its progress can be displayed And after some time, building can be upgraded with utilization of some resources providing more facilites.

<MurielGodoi> the hospital can blink in red when it need more resources

<deepank> yes and the windows blinking red would give a good effect

<MurielGodoi> I agree. but by now we have move work to do in game model


Model

<MurielGodoi> I think we can set tasks

1) game model

ps: basic game movel

2) method to allow game model set the gui elements

3) method to allow gui elements send info to the model

I think we need that done before start new issues


<deepank> Can I ask one very basic question. What exactly is a game model? ... I mean does it include simulation or the classes of objects in the game

<MurielGodoi> it includes data structures and as start a full simulation, forget AI for now including the method turn, which will process the simulation. as a first step the data structure is enough, methods to set the data like school.addRecource('book', 45) or hospital.consumeRecource('medicine', 20)

<MurielGodoi> I think 2 guys on data structure and 1 coding methods to show the data status in the gui. forget the animation for now

<deepank> hmm. We will need data structures for the resources : Water, medicine etc and facilties. Also internal structures like number of villagers, properties of villagers

<MurielGodoi> there is a general resources class in the git. just the skeleton. general classes: resource, facility and indicator, 1 for the village aspects as money, resource stock, so we create the specific ones which extends the general and instantiates it. facilities and indicators should have the method next_turn which will be called on each turn to update the values

<deepank> ok got it ... in which file is the resource class present? the dummy one in the present source code folder

<MurielGodoi> model.py That is incomplete, but maybe you can use that as a start

<MurielGodoi> What do you think about: 2 guys on data structure and 1 coding methods to show the data status in the gui as the next step?

<deepank> Would we need to create subclasses of base class like Indicator for different indicators like health nutrition etc because most of the elements will be same

<MurielGodoi> depending on the modeling... If we get a good generic class it is not needed

<deepank> I don't think we will not need it most probably ... depends on modelling though

<MurielGodoi> so we can set the formula in a way like that: health.addWeight('Hospital': 0.6, 'Housing': '0.2', 'School': 0.2) so the health status will be hospitalstatus*0.6+housing status*0.2 + school*0.2

<ANkurANubhav> So for our next step, we will make the classes specific and then show the status on gui.

<deepank> I think we must first do the data modelling before directly making the classes

<ANkurANubhav> Yes, that could be done. We could model the data and make a document on it.

<deepank> using ER diagrams; because as i feel it now; there are a lot of chances of missing some data elements

<ANkurANubhav> After finalizing it, we can make the code and classes.

<deepank> What do u think Muriel?

<MurielGodoi> deepank: maybe class diagrams. I wonder about the advantages of ER over the class considering that python is oo

<deepank> hmm ... Class diagram will be better and more direct. it will directly get coded in python too

<MurielGodoi> deepank: you got it. it is easier to transfer to the code... it is natural

<deepank> yes... but we are always taught to first make ERs before class diagrams; though in this case we can easily jump over to class diagarams since we comprehend the problem very well

<MurielGodoi> well... if ER diagram helps you to better understand the problem, so you are free to do that. The important is get a good data structure

<deepank> I feel in this problem we can skip over it since, I feel like I have a good understanding of problem

<ANkurANubhav> Yes, we will make the classes and meet this friday with the ER models from which we make classes.


Session Time: Tue Feb 12 00:00:00 2008

Session Close: Tue Feb 12 00:04:26 2008

Meeting Ends