View Single Post
Posts: 15 | Thanked: 10 times | Joined on Apr 2010
#1
I'm working on a geography game for the N900

Here the game is in practice mode, if you click on a country it will display the name of it. Otherwise it will display a country name and you're supposed to click on the right one. It is not at all finished and it needs packaging, but if you want to try it out/play with it, you can download it from http://www.erikhk.net/tmp/leif.tar
You'll need python-lxml to run it, I think it is in some dev/extras repository

sudo gainroot
apt-get install python-lxml

To "install"/play it, place it somewhere and unpack it with

tar -xvvf leif.tar

Then a dir called leif/ is created, then do:

cd leif/src/
python main_menu.py

Now the game should start, just choose New Game (Options is not finished, unfortunately)

If you want to create your own maps you "just" have to create an svg map in res/ with an id on every path, then you connect that id to the name of the country/whatever with an xml file with the same name in res/names/, then change the call to Game() in main_menu.py
 

The Following 3 Users Say Thank You to ErikHK For This Useful Post: