You are not logged in.
Hi,
While checking around and having fun with pyalpm library (alpm wrapper for python), I created a really simple quiz game. It askes you questions about installed packages on your system. Get it! (only 2.4 kbs)
It doesn't have a aur page because I don't know how to do that stuff . In order to be able to run it you will need to have pyqt and pyalpm installed. Then just run gui.py
Have fun!
Yaşar Arabacı
Edit: updated link
Last edited by yasar11732 (2011-07-15 17:45:58)
Yo Dawg, I heard you likes patches, so I have created a patch for your patch, so you can patch your patches before you patch.
Offline
If you find some question types too hard (installed size perhaps?), you can comment them out in question.py like this:
#class installedSize(Question):
# def __init__(self,package = None):
# Question.__init__(self,package)
# self.points = 6
# self.type = "installedSize"
#
# def generate(self):
#
# self.text = "How much is the installed size of " + self.package.name + " (in kilobytes)"
# self.correctAnswer = self.package.isize
Yo Dawg, I heard you likes patches, so I have created a patch for your patch, so you can patch your patches before you patch.
Offline
Haha, that's a funny idea!
I think you'll need to work a little on the difficulty of questions if you plan to continue the project.
– Some are too hard: installed size in the first place, that was a good guess of yours, but packagers and some dependencies are pretty tough, too.
– Some are too easy: the what package installed … questions can be mostly guessed by filenames
But personally, what I'd welcome most is some info on some of the more obscure packages. This way I could learn a bit about my system while having fun. Installed size is not terribly useful. A little description of the actual purpose of the package would be more enlightening. An example: gtk3 is described as "The GTK+ Toolkit (v3)". It is true, I know. But if your game told me that it's a set of libraries for building graphical user interfaces which is most notably used by Gnome and XFCE, and which is essentially responsible for the look and feel of their applications, I'd be actually smarter than before.
Some packages that I feel would be good candidates for this kind of description are: apr, attr, babl, damageproto, gegl, jack, libxau, neon, orc, speex, tdb. xcb-util.
Offline
that's quite funky
what caminoix said is true though
Offline
Haha, that's a funny idea!
I think you'll need to work a little on the difficulty of questions if you plan to continue the project.
– Some are too hard: installed size in the first place, that was a good guess of yours, but packagers and some dependencies are pretty tough, too.
– Some are too easy: the what package installed … questions can be mostly guessed by filenamesBut personally, what I'd welcome most is some info on some of the more obscure packages. This way I could learn a bit about my system while having fun. Installed size is not terribly useful. A little description of the actual purpose of the package would be more enlightening. An example: gtk3 is described as "The GTK+ Toolkit (v3)". It is true, I know. But if your game told me that it's a set of libraries for building graphical user interfaces which is most notably used by Gnome and XFCE, and which is essentially responsible for the look and feel of their applications, I'd be actually smarter than before.
Some packages that I feel would be good candidates for this kind of description are: apr, attr, babl, damageproto, gegl, jack, libxau, neon, orc, speex, tdb. xcb-util.
First of all, thanks for your feedback. I agree that installed size questions too hard too. I might just remove them, it is quite easy. But about the descriptions, I directly use the package description on the system. The one you get when you issue pacman -Qi somepackage. Otherwise it would require tons of time adding description for all the packages.
I guess next thing I would do for this project is to balance the difficulties.
Yo Dawg, I heard you likes patches, so I have created a patch for your patch, so you can patch your patches before you patch.
Offline