Flash Card Game - Assimilate: Difference between revisions

Dbj4366 (talk | contribs)
No edit summary
Dbj4366 (talk | contribs)
No edit summary
Line 49: Line 49:
* '''James - '''Kill the play button!
* '''James - '''Kill the play button!
* '''Dennis - '''Remove the voting function
* '''Dennis - '''Remove the voting function
====5/8====
====5/8====
* '''Everyone - '''Install SoaS and try to get the original source code running so we can start making changes to the game!
*'''Dennis - '''Email the Rochester python group for help.
*'''Brendan - '''Talk to the folks in IRC to ask them for help.
* '''Brendan - '''When a user answers incorrectly, enter loop to prompt to display answer or guess again.
* '''Brendan - '''When a user answers incorrectly, enter loop to prompt to display answer or guess again.
** If user chooses to display the answer, remove a point from their score, display the correct answer, and exit the loop.
** If user chooses to display the answer, remove a point from their score, display the correct answer, and exit the loop.
Line 56: Line 60:
* '''Dennis - '''Limit each flashcard to have only 1 question and 1 answer.
* '''Dennis - '''Limit each flashcard to have only 1 question and 1 answer.
* '''James - '''Work on displaying the score. After seeing how the score changes, we will be able to fix it as necessary.
* '''James - '''Work on displaying the score. After seeing how the score changes, we will be able to fix it as necessary.
====5/15====
====5/15====
* Have the game give the correct answer after the 3rd incorrect attempt or after guessing correctly. Allow questions/answers to be entered in the Create tab and allow the game to run properly in the View/Activity tab.
* Have the game give the correct answer after the 3rd incorrect attempt or after guessing correctly. Allow questions/answers to be entered in the Create tab and allow the game to run properly in the View/Activity tab.
Line 112: Line 117:
====Sugar on a Stick (SoaS)====
====Sugar on a Stick (SoaS)====
*Follow the instruction on the [http://wiki.sugarlabs.org/go/Sugar_on_a_Stick SoaS page].
*Follow the instruction on the [http://wiki.sugarlabs.org/go/Sugar_on_a_Stick SoaS page].
*Git can be downloaded to Sugar with the following commands:
**$ su
**$ yum install git
*Get the Assimilate source through git:
**$ git clone git://dev.laptop.org/activities/assimilate
*Install assimilate:
**$ python setup.py install
*When I try to interpret the application with "python Assimilate.py" the following error is generated:
"ImportError: cannot import name AlreadyVoted." This is in response to line 13 of cardpanel.py: "from cardbox.import(AlreadyVoted, NoQuestion, NoAnswer)". AlreadyVoted is a class of Exception declared in cardbox.py. I am currently troubleshooting this issue.