|
||
|
The qset program is a little card game implemented in C++ using Qt. It should be possible to run it on all platforms that have Qt. The current version, which is in a rather early stage of development, can be downloaded here. The README file, which is also shown below, contains all necessary information. Welcome to QSET - the Qt Card Game This small program, released under the terms of the GPL, was originally intended as a small testing program for me to learn Qt. As some people found it cool, I decided to release it under the GPL. The rules of the game are simple: you have to find "sets" among the cards that are shown on the screen. The cards have four properties connected to them: colour, shape, pattern, and number of elements. A set consists of three cards which for each property are either the same or exactly different. A set would be: 1. Card 2. Card 3. Card blue red green rectangle rectangle rectangle solid solid solid three items three three There are some handbooks for set available online, for example at www.setgame.com, the inventors of this game. When starting a game, the program first asks for a number of seconds - this is the time the computer (your opponent) will wait before he "finds" a set. Thus, the shorter the time, the more difficult it is. To select a set, hit "Space", and then select three cards by clicking. If you have a set, you'll get the points, if not, it'll go back to normal mode. If you've made a mistake, just hit "Space" again and everything will go back to normal. There is a high score system. If you win, your score can be recorded in the high score table. You will be asked for your name. The number of points is computed by multiplicating the delay with the number of cards the computer has and dividing the result by the number of cards the user has. You can save the file from the HighScore menu. It will also be saved when you exit the program. The scores are saved to a file called .qset_highscore in the user's home directory (or whatever is in $HOME). You will need Qt and qmake to install the program. I used v3.1.1 to develop it, but I expect it would work with others. The build process is simple, just run: qmake make and copy the output, "qset", to a path where your shell will find it, e.g. /usr/local/bin. All bug reports and improvements are highly welcome! I'd especially love to have a Windows port by someone who has a Qt licence for Windows. Enjoy! Bela Bauer bela_b@gmx.net |
||