[Tux4kids-tuxtype-dev] Instructions for testing Tuxmath and Tuxtype in schoolmode

Vikas Singh vikassingh008 at gmail.com
Sat Aug 7 22:00:29 UTC 2010


Hello

It was a great summer and I agree with Tim, Brendan and Wenyuan regarding
their theory of time moving fast during summers :) !
Finally I am wrapping up things.

The steps for testing Tuxtype in schoolmode are

1. Get the schoolmode branch

$ git clone git+ssh://vikas-guest@git.debian.org/git/tux4kids/tuxmath.git
$ git fetch origin
$git checkout  -b schoolmode origin/schoolmode
$git pull

2. Compile the code.

3. A sample lesson file lessonData.xml is provided with tuxtype in
tuxtype/data/lessondata.xml

4. Create a folder for mission files.Suppose  its name is "mission" with two
subdirectories mission/new/  and mission/old/

5. Copy the lessonData.xml file in the directory  mission/new/   using
   $ sleep 30 ; cp lessonData.xml   /home/vikas/mission/new/

Note : The above procedure is adopted because the tuxtype game can be run
and made to wait for lesson file (as earlier proposed by Michal)
to be created by teacher using Tux4kids-admin program.
It searches the mission/new/ directory for lessonData.xml file every 10
seconds and as soon as it finds it, it loads tuxtype in schoolmode by
parsing that lesson file.

6. Run the game as
$ tuxtype --schoolmode path_to_mission_directory
  path_to_mission_directory in my case is  /home/vikas/mission/.

7. Result file will be saved after game is over.


Similar instructions are for Tuxmath except the sample lesson lessonData.xml
file is located in tuxmath/data/images/schoolmode/lessonData.xml


-- 
Regards ,
Vikas Singh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/tux4kids-tuxtype-dev/attachments/20100808/ece96428/attachment.htm>


More information about the Tux4kids-tuxtype-dev mailing list