<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: medium; border-collapse: collapse; "><div class="nH"><div class="h7 j23lnd aW" style="clear: both; padding-bottom: 0px; "><div class="Bk" style="position: relative; margin-bottom: 10px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(239, 239, 239); border-right-color: rgb(239, 239, 239); border-left-color: rgb(239, 239, 239); border-bottom-color: rgb(226, 226, 226); border-top-width: 0px; border-top-left-radius: 7px 7px; border-top-right-radius: 7px 7px; border-bottom-right-radius: 7px 7px; border-bottom-left-radius: 7px 7px; float: left; width: 1216px; ">
<div class="G3 G2" style="padding-top: 3px; background-color: rgb(255, 255, 255); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-right-color: rgb(188, 188, 188); border-bottom-color: rgb(188, 188, 188); border-left-color: rgb(188, 188, 188); border-top-width: 1px; border-top-style: solid; border-top-color: rgb(188, 188, 188); border-top-left-radius: 7px 7px; border-top-right-radius: 7px 7px; border-bottom-right-radius: 7px 7px; border-bottom-left-radius: 7px 7px; ">
<div class="nH"><div id=":76"><div class="HprMsc"><div class="gs"><div id=":74" class="ii gt" style="font-size: 13px; margin-top: 5px; margin-right: 15px; margin-bottom: 5px; margin-left: 15px; padding-bottom: 20px; "><div id=":75">
<div><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: rgb(0, 0, 0); ">Konichiwa Jon-san<br><br>Otsukaresamadesu.<br><br>---->With your kind help and clear instructions, I was able to build and run the game on my Ubuntu machine (after installing pygame, sugar, and resolving many conflicts due to version issues) but it was worth it. I enjoyed it.<br>
<br>----> I also made the code work with pdb (Python debugger) and just went through the code. Probably , I will make the sequence diagrams if they are not made yet. This will clear my understanding and will be helpful for others as well.<br>
<div><br>----> Another problem manifested itself when I run the game on my Ubuntu machine, I cannot go beyond the first screen (by first screen I mean, I select Adventure game, enter my name and then there is a screen in which I see a door---- MAFH.activity/assets/images/environment/desert/F.gif) I think it is related to me playing the game on Ubuntu rather than XO so need to figure the controls out on the keyboard. I know for sure it is working as when I press 'm' key, another window pops up, so basically my key presses are responded , so the app has not hung.<br>
<br><span>-----> Seeing how it might be related to not playing game on XO, I got a pre-configured XO virtual machine after a bit of googling (<a href="http://dev.laptop.org/pub/virtualbox/" target="_blank" style="color: rgb(0, 101, 204); ">http://dev.laptop.org/pub/virtualbox/</a>) . As expected, I did not have to install pygame , sugar and need not worry about version conflicts etc. I installed git, got the source code, and when I ran - "python file.py" (just like the way I did in Ubuntu machine), I got this error:</span><br>
<br>No module named FortuneEngine.GameEngine   (which is understandable as I checked, there was no .pyc file inside fortuneengine directory)<br><br>I guess I need to run the setup.py files (A quick grep gave 2 possible locations - one in FortuneMaker and another in Mafh.activity) I run both using the command - python setup.py but I got another error:<br>
<br>bundlebuilder.start takes at least 1 argument , 0 given. <br><br>I checked the code in setup.py and saw that this module is imported from sugar , and not our code , so that pretty much rules out backward compatibility issues. Since sugar came preinstalled with the machine, I guess it is because my machine is very old?<br>
<br>I will check with some new virtual XO machine , I guess that should fix the problem and let you know the result, meanwhile you are always welcoem to give your comments<br><br><br>Now the questions part :)<br><br>--->Is there any document which describes the keyboard mappings, the .docx document at fortune_hunter/docs lists the key mapping from an XO device. Something similar along those lines? This will help me save the trouble of configuring the XO machine and I can move ahead with the Ubuntu one.<br>
<br>---> What do I need to do to generate .pyc files of GameEngine (perhaps it is something I did on Ubuntu machine but forgot to do in XO one) <br><br>--> Is my analysis correct?<br><br><br>Karlie,<br>Thank you so much for offering me XO, I will ask for it when I believe I deserve it, right now, being a complete newbie (even my IRC name is this) I guess there are others who deserve it more than I do. Sincere thanks for your help at every stage.<br>
<br>regards<br>-Ankit<br><br></div></div><br></div></div></div><div class="hq gt" style="font-size: 13px; margin-top: 5px; margin-right: 15px; margin-bottom: 15px; margin-left: 15px; clear: both; "></div><div class="hi" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(242, 242, 242); padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; width: auto; border-bottom-left-radius: 6px 6px; border-bottom-right-radius: 6px 6px; background-position: initial initial; background-repeat: initial initial; ">
</div><div class="gA gt" style="font-size: 13px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(242, 242, 242); padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; width: auto; border-bottom-left-radius: 6px 6px; border-bottom-right-radius: 6px 6px; background-position: initial initial; background-repeat: initial initial; ">
<div class="gB"><table cellpadding="0" class="cf gz" style="border-collapse: collapse; margin-bottom: -1px; width: 1214px; "><tbody><tr><td class="" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: arial, sans-serif; ">
<div class="cKWzSc mD" tabindex="0" style="white-space: nowrap; padding-top: 4px; padding-right: 8px; padding-bottom: 4px; padding-left: 8px; cursor: pointer; color: rgb(0, 101, 204); vertical-align: baseline; "><img class="mL" src="https://mail.google.com/a/g.rit.edu/images/cleardot.gif" alt="" style="height: 13px; width: 14px; background-image: url(https://mail.google.com/a/g.rit.edu/?ui=2&view=dim&iv=1lwu7slj5bgbg&it=ic); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: 0px -40px; background-repeat: no-repeat no-repeat; "> <span class="mG" style="text-decoration: underline; ">Reply</span></div>
</td><td class="" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: arial, sans-serif; "><div class="K98VUe mD" tabindex="0" style="white-space: nowrap; padding-top: 4px; padding-right: 8px; padding-bottom: 4px; padding-left: 8px; cursor: pointer; color: rgb(0, 101, 204); vertical-align: baseline; ">
<img class="mK" src="https://mail.google.com/a/g.rit.edu/images/cleardot.gif" alt="" style="height: 13px; width: 15px; background-image: url(https://mail.google.com/a/g.rit.edu/?ui=2&view=dim&iv=1lwu7slj5bgbg&it=ic); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: -40px -40px; background-repeat: no-repeat no-repeat; "> <span class="mG" style="text-decoration: underline; ">Reply to all</span></div>
</td><td class="" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: arial, sans-serif; "><div class="XymfBd mD" tabindex="0" style="white-space: nowrap; padding-top: 4px; padding-right: 8px; padding-bottom: 4px; padding-left: 8px; cursor: pointer; color: rgb(0, 101, 204); vertical-align: baseline; ">
<img class="mI" src="https://mail.google.com/a/g.rit.edu/images/cleardot.gif" alt="" style="height: 13px; width: 14px; background-image: url(https://mail.google.com/a/g.rit.edu/?ui=2&view=dim&iv=1lwu7slj5bgbg&it=ic); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: -80px -40px; background-repeat: no-repeat no-repeat; "> <span class="mG" style="text-decoration: underline; ">Forward</span></div>
</td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: arial, sans-serif; "></td><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: arial, sans-serif; ">
<div class="f6"></div></td><td class="St" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: arial, sans-serif; text-align: right; width: 960px; color: rgb(153, 153, 153); font-size: 10px; padding-right: 2px; ">
</td><td class="io" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: arial, sans-serif; text-align: right; width: 0px; padding-right: 4px; "></td></tr></tbody></table><div class="ip iq" style="clear: both; padding-bottom: 4px; padding-left: 6px; ">
</div></div></div></div></div></div></div></div></div></div></div><div class="nH"><div class="h7  " style="clear: both; padding-bottom: 0px; "><div class="Bk" style="position: relative; margin-bottom: 10px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(239, 239, 239); border-right-color: rgb(239, 239, 239); border-left-color: rgb(239, 239, 239); border-bottom-color: rgb(226, 226, 226); border-top-width: 0px; border-top-left-radius: 7px 7px; border-top-right-radius: 7px 7px; border-bottom-right-radius: 7px 7px; border-bottom-left-radius: 7px 7px; float: left; width: 1216px; ">
<div class="G3 G2" style="padding-top: 3px; background-color: rgb(255, 255, 255); border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-right-color: rgb(188, 188, 188); border-bottom-color: rgb(188, 188, 188); border-left-color: rgb(188, 188, 188); border-top-width: 1px; border-top-style: solid; border-top-color: rgb(188, 188, 188); border-top-left-radius: 7px 7px; border-top-right-radius: 7px 7px; border-bottom-right-radius: 7px 7px; border-bottom-left-radius: 7px 7px; ">
<div class="G0" style="float: right; margin-top: -4px; overflow-x: hidden; overflow-y: hidden; display: inline; padding-left: 1px; "><div class="J-J5-Ji" style="position: relative; display: inline-block; "><div class="J-Zh-I J-J5-Ji J-Zh-I-Js-Zj GZ L3" tabindex="0" style="position: relative; display: inline-block; margin-top: 0px; margin-right: 0px !important; margin-bottom: 0px; margin-left: 0px; padding-top: 3px; padding-right: 8px; padding-bottom: 3px; padding-left: 8px; text-align: center; vertical-align: middle; white-space: nowrap; cursor: default; outline-style: none; outline-width: initial; outline-color: initial; font: normal normal normal 70%/normal arial, sans-serif; color: rgb(0, 0, 0); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(187, 187, 187); border-right-color: rgb(187, 187, 187); border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); border-top-left-radius: 0px 0px; border-top-right-radius: 0px 0px; border-bottom-right-radius: 0px 0px; border-bottom-left-radius: 3px 3px; background-image: -webkit-gradient(linear, 0% 40%, 0% 70%, from(rgb(249, 249, 249)), to(rgb(227, 227, 227))); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; height: 1.3em; background-position: initial initial; background-repeat: initial initial; ">
<img class="hB mK" src="https://mail.google.com/a/g.rit.edu/images/cleardot.gif" alt="" style="height: 13px; width: 15px; background-image: url(https://mail.google.com/a/g.rit.edu/?ui=2&view=dim&iv=1lwu7slj5bgbg&it=ic); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; vertical-align: middle; background-position: -40px -40px; background-repeat: no-repeat no-repeat; "><span class="hE" style="color: rgb(0, 101, 204); padding-right: 4px; padding-left: 4px; white-space: nowrap; text-align: center; ">Reply to all</span></div>
</div><div class="J-J5-Ji" style="position: relative; display: inline-block; "><div id=":51" class="J-Zh-I J-J5-Ji G1 J-Zh-I-Js-Zq GZ L3" tabindex="0" style="position: relative; display: inline-block; margin-top: 0px; margin-right: 0px !important; margin-bottom: 0px; margin-left: 0px !important; padding-top: 3px; padding-right: 8px; padding-bottom: 3px; padding-left: 8px; text-align: center; vertical-align: middle; white-space: nowrap; cursor: default; outline-style: none; outline-width: initial; outline-color: initial; font: normal normal normal 70%/normal arial, sans-serif; color: rgb(0, 0, 0); border-top-width: 1px; border-right-width: 0px !important; border-bottom-width: 1px; border-left-width: 0px; border-top-style: solid; border-right-style: initial !important; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(187, 187, 187); border-right-color: initial !important; border-bottom-color: rgb(187, 187, 187); border-left-color: rgb(187, 187, 187); border-top-left-radius: 0px 0px; border-top-right-radius: 7px 7px; border-bottom-right-radius: 0px 0px; border-bottom-left-radius: 0px 0px; background-image: -webkit-gradient(linear, 0% 40%, 0% 70%, from(rgb(249, 249, 249)), to(rgb(227, 227, 227))); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; height: 1.3em; background-position: initial initial; background-repeat: initial initial; ">
<img class="hA" src="https://mail.google.com/a/g.rit.edu/images/cleardot.gif" alt="" style="height: 7px; width: 7px; background-image: url(https://mail.google.com/a/g.rit.edu/?ui=2&view=dim&iv=1lwu7slj5bgbg&it=ic); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; background-position: -120px 0px; background-repeat: no-repeat no-repeat; "><span style="visibility: hidden; "></span></div>
</div></div><div class="nH"><div id=":4p"><div class="HprMsc"><div class="gs"><div class="gE iv gt" style="font-size: 13px; padding-left: 4px; padding-bottom: 3px; cursor: pointer; padding-right: 0px; "><table cellpadding="0" class="cf gJ" style="border-collapse: collapse; margin-top: 0px; width: auto; ">
<tbody><tr><td class="gF gK" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: arial, sans-serif; text-align: left; white-space: nowrap; padding-right: 8px; vertical-align: top; width: 857px; padding-top: 0px; ">
<table cellpadding="0" class="cf ix" style="border-collapse: collapse; table-layout: fixed; width: 857px; "><tbody><tr><td style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: arial, sans-serif; ">
<div class="iw" style="overflow-x: hidden; overflow-y: hidden; white-space: nowrap; "><span class="lHQn1d"><img class=" f g8 " src="https://mail.google.com/a/g.rit.edu/images/cleardot.gif" alt="" style="margin-top: 0px; vertical-align: top; height: 15px; width: 15px; background-image: url(https://mail.google.com/a/g.rit.edu/images/2/5/highscore/stars2.png); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; cursor: pointer !important; background-position: 0px 0px; background-repeat: no-repeat no-repeat; "></span><span class="ik" style="vertical-align: top; position: relative; top: -1px; "><img width="16px" height="16px" class="de" id="upi" name="upi" src="https://mail.google.com/a/g.rit.edu/images/cleardot.gif" style="width: 16px; height: 16px; "></span><h3 class="gD" style="font-size: 13px; font-weight: bold; white-space: nowrap; display: inline; vertical-align: top; color: rgb(121, 6, 25); ">
<span style="position: relative; top: -4px; ">Jonathan Meschino (RIT Student)</span></h3> <span class="hb" style="vertical-align: top; ">to <span class="g2" style="vertical-align: top; ">Ankit</span>, <span class="g2" style="vertical-align: top; ">Remy</span>, <span class="g2" style="vertical-align: top; ">karlie</span></span></div>
</td></tr></tbody></table></td><td class="gH" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: arial, sans-serif; text-align: right; white-space: nowrap; vertical-align: top; ">
<div class="gK" style="padding-top: 0px; padding-right: 4px; "><span class="iD" style="color: rgb(0, 101, 204); text-decoration: underline; cursor: pointer; vertical-align: top; ">show details</span> <span id=":4t" class="g3" title="Tue, Dec 14, 2010 at 3:31 PM" alt="Tue, Dec 14, 2010 at 3:31 PM" style="vertical-align: top; margin-right: 3px; ">3:31 PM (8 minutes ago)</span><span></span></div>
</td><td class="gH" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: arial, sans-serif; text-align: right; white-space: nowrap; vertical-align: top; "></td></tr></tbody></table>
</div><div class="iF" style="height: 0px; overflow-x: hidden; overflow-y: hidden; clear: both; "></div><div class="utdU2e"></div><div class="QqXVeb"></div><div id=":4r" class="ii gt" style="font-size: 13px; margin-top: 5px; margin-right: 15px; margin-bottom: 5px; margin-left: 15px; padding-bottom: 20px; ">
<div id=":4q"><div>Ankit-san konichiwa!</div><div><br></div><div>      I am glad you got things moving along. The way that the repository is set up is that fortune engine is a submodule (a git within a git) so that we can update the game's engine independently of Fortune Hunter. The reason for this? Well, we took out the engine so that it could be used for other games in the future (a couple projects have taken it and adapted it for their use nicely). This way, projects can start with our engine and work from there. All you should need to do is run a submodule update and it will pull the game engine files. I apologize for forgetting to mention this in the previous email : /    As far as the specifics in your environment, I'm not 100% sure how-to, but I know Justin (jlew) knows for sure. He'll also be able to troubleshoot all of the remaining technical issues/concerns you have. I will bring him up to speed and send your email. What I <i>can </i>help you with is the controls documentation for the game. You can find info here - <a href="http://wiki.sugarlabs.org/go/Fortune_Hunter/Game_Mechanics#Console_Input_.28default.29" target="_blank" style="color: rgb(0, 101, 204); ">http://wiki.sugarlabs.org/go/Fortune_Hunter/Game_Mechanics#Console_Input_.28default.29</a>.</div>
<div>I realize the keyboard controls don't match what is written there precisely (what's written is our goal for controls). I have updated that section to include the current keyboard mapping. ; )  Thank you for pointing that out. I think I wrote them all correctly, but you still may find some differences. And as always, feel free to ask more questions about anything and everything; I am here to help. I am very happy to have you as part of the team. If you look here - <a href="http://wiki.sugarlabs.org/go/Fortune_Hunter/Developer's_Corner#Active_Members" target="_blank" style="color: rgb(0, 101, 204); ">http://wiki.sugarlabs.org/go/Fortune_Hunter/Developer's_Corner#Active_Members</a> you will see a list of members. This list needs fixing (i got lost in the WML code when i was updating it), but please add yourself to it if you are able, otherwise you may add your name in that first sentence (and we'll fix it later). One last thing, anything on the wiki you wish to be clearer or you have trouble finding or would like to change, you may do so or you can contact me and I will work on it. </div>
<div><br></div><div>Much appreciated!   domo arigato gozaimasu!</div>     ~Jon<br><br><div><div><div><span id="q_12ce6a79094c9ca7_1" class="h4" style="cursor: pointer; color: rgb(80, 0, 80); font-size: 9px; ">- Show quoted text -</span></div>
</div>-- <br> ~ jON mESCHINO<br>    bS vIDEO gAME dESIGN & dEVELOPMENT (igm)<br>    5TH yR @ RIT</div></div></div></div></div></div></div></div></div></div></div></span><br><br>