Imaginemos un mundo libre

La paz interior comienza en el momento en el que decides no permitir, que ninguna persona o evento, tome el control de tus emociones.

KPeg – Peg Solitaire game for KDE

with 2 comments

As I told before, I picked up a game from playground and after some KDE vacations I finally had the opportunity to hack on the game once again.

I rename it and today I released KPeg 0.2. I am following this version number because I think it is not completely ready to be 1.0 as the former developer specified.

KPeg is an implementation of the Peg Solitaire Game.

Peg Solitaire is a board game that consists of jumping over pieces (pegs) in order to remove them from the board. The goal is to remove all pegs but one in the shortest time possible.

KPeg has 5 leves of difficulty and 3 algorithms to generate the puzzles (Original, branch and lines), these affect how the pegs are distributed on the board.

For reference, Peg solitaire at Wikipedia.

Well, I created 3 new themes/icons and removed the old ones. My artistic skills are very limited so don’t expect to have wow-SVG themes.

I also created a cool DropShadowEffect for the pegs thanks to the new features of Qt 4.6.

I made some adjustments in the branch algorithm and cleaned up the code for the random seed generator number, not needed anymore.

Download the Game from kde-apps.org

Or make a subversion checkout:

svn co svn://anonsvn.kde.org/home/kde/trunk/playground/games/kpeg/

Enter into the kpeg directory and do the following to compile it:

mkdir build
cd build
cmake ../
make
sudo make install

You can also browse the source code:
http://websvn.kde.org/trunk/playground/games/kpeg/

Here is the mandatory screenshot:

kPeg

Currently, I am working on the algorithms for English and European Peg Solitaire boards and in the next weeks the challenge will be to create an animated peg solitaire solution.

Please, test the game (and your brain) and send me all your comments and feedback.

Remember that game development is fun and I will continue developing KPeg just for fun and to learn more about Qt/KDE.

More news about the game coming soon.

Written by Ronny Yabar

April 24, 2010 at 6:01 am

Posted in KDE, Qt

2 Responses

Subscribe to comments with RSS.

  1. Another version of the program in http://peg-solitaire.sourceforge.net/. More than 160 problems and the possibility of creating your own problems

    J. Serra

    March 22, 2012 at 1:39 pm

    • Thanks for the info

      Ronny Yabar Aizcorbe

      March 25, 2012 at 2:33 am


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: