![]() ![]() Because of the simplicity and the power the python language, my ideas could be expressed very clearly and I could concentrate on what I wanted to do instead of how I needed to code it. The usual cycle think, organise into organigram, code, compile, correct compiling errors, run, correct bugs, run, it work was reduced to think, code, run, it works. I have never been able to implement my ideas so quickly. I must say I have enjoyed it a lot: Python and Qt are both excellent, easy to use and well documented. This is my first program using python and PyQt. Klotski is written in Python and uses the PyQt binding developped by Phil Thompson, to take advantage of the QCanvas from Qt. On Windows, everything works by itself :-). I had a look at it before starting Klotski, so some design ideas have probably slipped from there :-) There is also a basic gnome version of klotski here. There was a klotski game on Windows 3.1, and this is were all levels are from. It sounds simple but it is a real brainteaser. The goal is to bring the red piece to its destination by moving other pieces. Klotski is small brick game which has its root in a wooden game named (in french) Ane rouge.
0 Comments
Leave a Reply. |