Python Kye
This is a clone of the classic puzzle game Kye to Linux (well, to Python and pygtk, so it should run on most platforms where those are available). If you want to know what Kye is about, read here.
Python Kye is written and maintained by me, Colin Phipps. News of new Python Kye releases will be posted here.
Kye is an unusual little puzzle game, with a variety of different types of
objects. It takes a little time to figure out all the objects and their normal
behaviour; so I have included 6 starter levels to introduce the different
objects and different types of level you see them in. Once you have a feel for the game, there are plenty of extra levels to choose from. I have put together
a levels page, which picks out some of the easier level
sets for people getting started. The levels vary enormously in difficulty, so once you are finding the levels easy, look for a harder set.
See the other pages on this site for more information about the game, and suggestions for levels to play. The site on classicgaming also has lots of good information. I have also started a mailing list as a discussion forum to allow people to discuss levels and level design ideas.
This is a clone of the original Kye, but it is a good one. I have done my best to make it as authentic to the original game as possible (and when I say my best, people who have seen PrBoom will know I take this seriously). It mimics the original, including some of the unusual/buggy things which occur in the original game. It should be compatible with all levels for v1.0 and v2.0 of the original Windows version of Kye. Let me know if you find a level which seem not to work right (*).
Download and Install
To play Python Kye, first download the current version. There are two downloads of Kye available:
RPM Package
This will be most suitable for people with little or no experience of running programs from the command line. You will have to run one command to install Kye, but after that it is installed, and depending on how your version of Linux is set up, you may get an icon for Kye appear automatically in your desktop menus.
- Download kye-0.9.3-1.noarch.rpm.
- Open a root terminal session (some systems have a root prompt/root terminal
icon; otherwise, open a normal terminal and use
suto get a root prompt) and go to the download directory and runrpm -i kye-0.9.3-1.noarch.rpmto install it. - You will also need to install librsvg2 and pygtk (might be called python-gtk depending on your system): the versions of these with your Linux distribution should be fine, and most systems will already have these, but if not use your distribution's package installation tool to get them.
- You should then be able to run
Kyein a terminal window to start the game. (You may also get an icon appear in your menus.) - Note that when you go to the menu to open a new set of levels, it will not automatically navigate to where the levels are installed to; look for the /usr/share/kye directory to find the included levels (or of course you can download more from the 'net).
Source Package
This is suitable for the users happy with running stuff from the command line, and people with non-RPM distributions; also if you would prefer to run Kye without properly installing it (you can run Kye just by extracting it to your home directory and running it from there).
- Download kye-0.9.3.tar.gz .
You also need a working installation of pygtk, version 2.4.0 or later, and (to use the supplied SVG tiles) the rsvg graphics library. I will add instructions here for various systems:
- Debian (3.1 or better), or Ubuntu:
apt-get install python-gtk2 librsvg2-common - FreeBSD:
portinstall py24-gtk, andportinstall librsvg2 - Mandriva: you need Mandriva 10.2 or later to have the needed pygtk libraries. You should install the pygtk2.0-2.4.1-4mdk and librsvg-2.8.1-5mdk packages, or their later equivalents.
- Debian (3.1 or better), or Ubuntu:
-
Extract the tarball (
tar xzf kye-0.9.3.tar.gz). Then enter thekye-0.9.3directory, and run./Kye. (The level editor is./Kye-edit.) - If you want to 'properly' install Python Kye, run
./setup.py installas root. (Note that this seems only to work if you have the python development libs installed.) You should then be able to runKye.
Questions etc
Please direct questions and comments, and discussion about the game, to the Kye mailing list.
Image sets
These are alternative image sets, which can be dropped in in place of the supplied images.tar.gz.
- Original Kye theme — use these if you want things to be exactly like the original Windows game. Note that these are from the original shareware Kye game, so you should consider making a donation if you use these.
- Improved Kye theme — this is the original Kye theme, with a few of the images replaced with new ones, by Robert Phipps. It makes the turning blocks and one way doors clearer. Most of the images are from the original shareware game, so again are not open-source and you should consider making a donation.
Creating your own levels
Unlike in the original Windows version of Kye, the level editor in this version is a separate program, Kye-edit.
A palette of the available objects is shown along the bottom of the screen — select objects from here, and then left click on the playing area to place them. Use right click to remove objects. Note that the palette is condensed to show only one object of each type — click on the palette entry repeatedly to cycle through similar objects (e.g. to get different slider directions).
Remember that each .kye file can contain multiple levels. Use the Level menu to select between the levels in a file, add or remove levels, and also to name individual levels and set their hint etc.
Every level should contain at least one diamond (otherwise the game will exit the level immediately), and exactly one Kye (or the game will get confused) (the editor now warns you if you try to save without this minimum). It is best to always have a solid border around the level, or at least to never allow the player to reach the edge of the grid.
And remember to share your levels with the rest of us :-). I believe Jose will put new Kye levels on his level's page (note that levels created for python Kye are fully compatible with the original Windows Kye, and so are suitable for his page, provided you do not break the rules of the previous paragraph).
Charityware
The original Kye for Windows was shareware, with the proceeds going to Save the Children. As I have used the game idea, it seems fair to maintain the spirit of the original program, and make it charityware — so (for example like vim) if you like Python Kye, you are encouraged to donate to a children's charity of your choice.
Gameplay Differences from the Original Kye
- In the original, timing-sensitive mechanisms in levels would sometimes break for no reason; I think the original used two separate timer objects to control the faster and slower objects, and these would sometimes drift apart. My version does not do this; but this effect was so marginal that I doubt any levels exist which depend on it.
- The animation of black holes appear to interact in the original game; black holes will skip frames back or forward, speeding up or slowing down their consumption, if there are other black holes eating at the same time. To some extent this seems to be just that later black holes try and match state with earlier ones; but it appears to be more complex than that. I suspect that this is really a bug of the original, and as I don't fully understand it, I have not tried to reproduce the effect.
