Downloading
and Preparing Jools for Installaion: Jools is a Python
script, so working with it should be very similar to the process you
followed in Chapter 9 for the pyWings oracle.
The
Steps:
- Jools requires
PyGame, so you will have to download and install that before moving on.
If you have the DAG repository in your Synaptic repositories list, you
can easily do this by typing python-game in the Synaptic Find box, and
then following the procedure you learned in Chapter 10. Otherwise you
can download the file from the DAG repository page at http://dag.wieers.com/packages/python-game/.
Be sure to select the version appropriate for the version of Linux you
are running, for example python-game-1.6-0.rhfc1.dag.i386.rpm in the
case of Fedora Core 1.
- If you are
downloading the RPM file directly, rather than via APT/Synaptic, be
sure to install it first (by double-clicking the file) before going on
to the next step.
- Once you've completed
that task, download the Jools tarball from the Jools
project homepage. At the time of this writing, that would be
jools-0.20.tar.gz.
- After you've
downloaded the tarball, double-click the file to extract it via the
File Roller application. Follow the extraction process you
learned in Chapter 11.
- Once the tarball is
extracted, you will have a new folder matching the name of the tarball
minus the "tar.gz" (jools-0.20 in this case).
- Now open a Terminal
window and cd to the new folder. If the folder is in your Home folder,
just type cd
jools-0.20 and then hit ENTER.
Testing
Jools: Because Jools is a Python script, it is actually
now ready to play as is. To give it a go, go back to the still-open
Terminal window, type
jools/jools, and hit ENTER. Jools should now open up to its main
page, which you can see in the image below. First time around it is
probably best to select Untimed
by clicking it (this takes the stress out of things).
Installing Jools:
Unlike pyWings, Jools comes with an installation script so that you can
install it globally for all users to play. This also makes it easier to
get up and running, thus reducing wear and tear on your fingertips.
The
Steps:
- Open a new Terminal
window and become root using the su command.
- Move into the Jools
folder by typing cd
jools-0.2.0 and hitting ENTER.
- Now, type python
setup.py install and hit ENTER.
- When your Terminal is
back at the command prompt, the process is complete and you are ready
to play.
- Exit out of root
mode, and then exit out of the terminal (exit
[RETURN], exit
[RETURN]).
Running Jools:
Now all you have to do to run Jools is go to the Main panel menu,
select Run Application, and
then, once the Run Application window opens, type in jools
and click Run. After that,
play the game, goof around, explore, and have some fun.
Additional information on playing Jools is available in the docs folder
within the jools-0.20 folder.
|