Food Force/Meeting Logs5

From OLPC
< Food Force
Revision as of 12:10, 29 February 2008 by 59.89.2.192 (talk) (New page: Session Start: Tue Feb 26 22:17:15 2008 Session Ident: #olpc-foodforce �01[22:18] <Ankur> Hello Muriel. [22:21] <@MurielGodoi> hello [22:22] <@MurielGodoi> today reinstalled my X pac...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Session Start: Tue Feb 26 22:17:15 2008

Session Ident: #olpc-foodforce

�01[22:18] <Ankur> Hello Muriel.

[22:21] <@MurielGodoi> hello

[22:22] <@MurielGodoi> today reinstalled my X packages :)

�01[22:24] <Ankur> thats Good

�01[22:25] <Ankur> So, you checked the code?

[22:26] <@MurielGodoi> yep

�01[22:27] <Ankur> Any suggestions you would like to give before moving further? �03[22:27] * Anubhav (n=chatzill@221.134.226.89) has joined #olpc-foodforce [22:29] <Anubhav> Hello Muriel , Hi Ankur [22:29] <@MurielGodoi> Hello Anubhav �01[22:30] <Ankur> Hi Anubhav [22:30] <@MurielGodoi> Just one thing about the resources... �01[22:30] <Ankur> Yes. [22:30] <Anubhav> I hope my net works smoothly today [22:30] <@MurielGodoi> sounds weird the two quantities (market and village) in the same object [22:33] <@MurielGodoi> resources is a abstract class. It should works for the village stock, market stock or N stock �02[22:33] * Anubhav (n=chatzill@221.134.226.89) Quit (Remote closed the connection�) �01[22:33] <Ankur> This way, we can keep the qts of Village and Market in two different variabales when ever there is a change in some resource value. [22:34] <@MurielGodoi> tomorrow when trading between players it might also works [22:34] <@MurielGodoi> http://en.wikipedia.org/wiki/Model-view-controller [22:35] <@MurielGodoi> I was thinking about use that architectural pattern �01[22:35] <Ankur> I am opening it. �03[22:35] * Looking up MurielGodoi user info... [22:35] <@MurielGodoi> should we wait for deepank? �01[22:35] <Ankur> Till then, I am seeing it. �01[22:36] <Ankur> Sure �01[22:36] <Ankur> And for Anubahv also. [22:36] <@MurielGodoi> when reading realize what we should have i our model [22:37] <@MurielGodoi> We wont use the frameworks... just the pattens [22:40] <@MurielGodoi> bbiab �03[22:44] * Anubhav (i=Anubhav@221.134.225.241) has joined #olpc-foodforce �02[22:45] * Anubhav (i=Anubhav@221.134.225.241) Quit (Client Quit�) �03[22:45] * Anubhav (i=Anubhav@221.134.225.241) has joined #olpc-foodforce �01[22:45] <Ankur> Adding an additional layer named controller between data and user interface will increase flexibility. �03[22:46] * deepank (n=deepank@59.178.41.239) has joined #olpc-foodforce [22:46] <deepank> Hi all [22:46] <Anubhav> Hi �01[22:47] <Ankur> Controller will independently deal with both of them. Right? �01[22:47] <Ankur> Hi �01[22:49] <Ankur> So, Muriel, We have to make an additional controller.py file for that [22:50] <@MurielGodoi> right [22:50] <@MurielGodoi> hi deepank [22:50] <@MurielGodoi> http://en.wikipedia.org/wiki/Model-view-controller [22:50] <@MurielGodoi> That is the architectural pattern [22:51] <@MurielGodoi> model is what we are coding now [22:51] <@MurielGodoi> control will be the game engine [22:51] <@MurielGodoi> and view the gui and village simulation Session Close: Tue Feb 26 22:51:51 2008

Session Start: Tue Feb 26 22:51:51 2008 Session Ident: #olpc-foodforce �02[22:51] * Disconnected �02[22:52] * Attempting to rejoin channel #olpc-foodforce �03[22:52] * Rejoined channel #olpc-foodforce [22:52] <@MurielGodoi> the gui sends the interaction to the controller [22:52] <@MurielGodoi> the controller changes the model [22:52] <@MurielGodoi> and the model updates the gui �03[22:53] * Retrieving #olpc-foodforce modes... �01[22:53] <Ankur> Exactly [22:54] <@MurielGodoi> there is no much game logic in the model [22:54] <@MurielGodoi> as price calculus �01[22:54] <Ankur> ? [22:54] <@MurielGodoi> it is a controller responsability �01[22:55] <Ankur> Yes, we just have the information about Resources, Indiacators, and Faciliteis classes,. these will be further controlled by the controller. �01[22:56] <Ankur> GUI will be directly linked with the controller which we have to design, which will update our model.py file �01[22:56] <Ankur> and further model.py will update out GUI �01[22:56] <Ankur> Similar to MVC model �01[22:56] <Ankur> GUI- > Controller.py -> Model.py -> GUI Right? [22:57] <@MurielGodoi> right �01[22:57] <Ankur> So for Game Engine developement, do we have to start from the bottom. �01[22:58] <Ankur> i.e. for controller.py file? [22:58] <@MurielGodoi> sure �01[22:58] <Ankur> Could you please give us some pointers for that? [22:58] <@MurielGodoi> you also should take a look at GObjects [22:59] <@MurielGodoi> that is to send messages �01[22:59] <Ankur> from GUI to Model.py Right? [23:00] <@MurielGodoi> to communicate model-view-control [23:00] <@MurielGodoi> gui to control [23:00] <@MurielGodoi> control to model [23:00] <@MurielGodoi> and model to view �01[23:00] <Ankur> If it is already there, We can create a controller class out of this file, basically this being handling the messages and other events triggered by the user. �01[23:00] <Ankur> According to the events performed, Model file will be updated. [23:01] <@MurielGodoi> yep it is good a new file for that [23:01] <@MurielGodoi> and maybe a refactoring of FoodForce2.py too [23:02] <@MurielGodoi> strip the view from there to view.py �01[23:02] <Ankur> And after some fixed interval after modification of model.py file, The corresponding changesd in the GUI will be made. This will be done direclty as model.py->view.? �01[23:02] <Ankur> or again controller in between? [23:02] <@MurielGodoi> the model can send messages to the view them something changes [23:03] <@MurielGodoi> s/can/should [23:04] <@MurielGodoi> nop, model-> view, take a look at MVC diagram �01[23:04] <Ankur> thats an indirect association! �01[23:05] <Ankur> It will be through model->controller first, I think?, if we follow this. Otherwise to make things simpler, we can directly link them. �01[23:05] <Ankur> as you told model->view [23:05] <@MurielGodoi> there is no unique solution... [23:06] <@MurielGodoi> I am trying to see the effects �01[23:06] <Ankur> Yes, but we will have the one which makes things simpler. :) �01[23:07] <Ankur> and faster. �01[23:07] <Ankur> So our next taks should be to link View to model.py through a controller. Right? [23:09] <@MurielGodoi> right �01[23:09] <Ankur> where for controller.pf we will get help from GObjects and Foodforce2. And to extract ths code fro view from foodforce2.py to a new file view.py. �01[23:09] <Ankur> Right? �01[23:10] <Ankur> Sorry for typos [23:11] <@MurielGodoi> GObject will helps at all.. it will send and receive messages between the modules �01[23:11] <Ankur> thats good. [23:11] <@MurielGodoi> FoodForce2.py will be the main one to run and launch the game [23:12] <@MurielGodoi> and more three files: view.py, control.py and model.py [23:12] <@MurielGodoi> perfect [23:13] <@MurielGodoi> FoodForce2.py will instantiate the modules and link then [23:14] <@MurielGodoi> you will realize how FoodForce2.py will link them when reading about the GObjects �01[23:14] <Ankur> Okay [23:14] <@MurielGodoi> I used that architeture at Memorize game �01[23:14] <Ankur> What is this �01[23:15] <Ankur> Had you developed more games except this? [23:15] <Anubhav> Dont know [23:16] <@MurielGodoi> http://dev.laptop.org/git?p=projects/memorygame [23:16] <@MurielGodoi> I developed simple games [23:16] <@MurielGodoi> like educational hangmans :) �01[23:16] <Ankur> Coold �01[23:16] <Ankur> *Cool [23:17] <@MurielGodoi> if you take a look at Memorize code: [23:18] <@MurielGodoi> game.py is the control [23:18] <@MurielGodoi> model.py is model :D [23:18] <@MurielGodoi> and cardtable.py and scoreboard are the view [23:19] <@MurielGodoi> activity.py instantiate the modules and link them [23:19] <@MurielGodoi> there is no problem �01[23:21] <Ankur> I hope all questions to this meeting are over from my side. Deepank and Anubhav, if you haver any questions, you can aks them [23:21] <@MurielGodoi> My master thesis is about computers in education, but not exactly about educational games [23:22] <Anubhav> no.. not from my side [23:22] <@MurielGodoi> I worked on using AI to create analogies to increase the quality of learning mateiral [23:22] <@MurielGodoi> Federal University of São Carlos, here in Brazil �01[23:23] <Ankur> @Muriel: That seems interesting. But, being from Electronics and Communication branch, I will not have this subject (AI). Deepank and Anubhav will have it. [23:23] <deepank> Not from my side also �01[23:23] <Ankur> :( [23:24] <@MurielGodoi> That is very interesting subject. [23:25] <@MurielGodoi> well... backing to your meeting ... :) [23:25] <@MurielGodoi> Are we missing something? �01[23:26] <Ankur> Okay then we can have our next meeting next week, same day? Is it okay? [23:27] <@MurielGodoi> That is fine for me [23:27] <@MurielGodoi> in the meantime, mail me if you have any questions �01[23:27] <Ankur> @Deepank/Anubahv : Please put up the contents of the meeting. I have pasted on your personal query page. Session Close: Tue Feb 26 23:27:55 2008

Session Start: Tue Feb 26 23:27:55 2008 Session Ident: #olpc-foodforce �02[23:27] * Disconnected �02[23:28] * Attempting to rejoin channel #olpc-foodforce �03[23:28] * Rejoined channel #olpc-foodforce Session Close: Tue Feb 26 23:28:12 2008

Session Start: Tue Feb 26 23:28:12 2008 Session Ident: #olpc-foodforce �02[23:28] * Disconnected �02[23:28] * Attempting to rejoin channel #olpc-foodforce �03[23:28] * Rejoined channel #olpc-foodforce �01[23:28] <Ankur> So, Muriel, Thanks for your time. [23:28] <@MurielGodoi> I thanks you for your work guys Session Close: Tue Feb 26 23:29:08 2008

Session Start: Tue Feb 26 23:29:08 2008 Session Ident: #olpc-foodforce �02[23:29] * Disconnected �02[23:29] * Attempting to rejoin channel #olpc-foodforce �03[23:29] * Rejoined channel #olpc-foodforce [23:29] <@MurielGodoi> the meeting is over Session Close: Tue Feb 26 23:29:47 2008