Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 20 Sep 2014, 02:05
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Games
"Solitaire" board game (AKA "Peg Solitaire")
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
SFR


Joined: 26 Oct 2011
Posts: 1068

PostPosted: Sun 08 Apr 2012, 08:15    Post subject:  "Solitaire" board game (AKA "Peg Solitaire")
Subject description: New version: 2012-04-29
 

"Solitaire" board game has nothing common (except it's a single player game) with well known card game neither Mahjong.

The aim is to leave only one piece in the centre of the board:
1. Select a piece and jump over the adjacent one (not placed diagonally) into an empty field.
(The "jumped over" piece will be removed from the board.)
2. If possible, repeat 1.

Written in BASH+GtkDialog on Lucid Puppy.

________________________________________

Update: Peg Solitaire v2.0 (2012-04-29)
- New layouts
- New look'n'feel (thanks to vovchik)
- Simple layout editor
- Already as .pet

Note:
I didn't include 'delete layout' option, so to delete, for instance, unnecessarily saved layout,
go to /usr/local/PegSolitaire/layouts/

Works in recent versions of Lucid, Wary, Slacko and Saluki.

Have fun & Greetings!
PegSolitaire-2.0.pet
Description  Peg Solitaire v2.0 (2012-04-29)
pet

 Download 
Filename  PegSolitaire-2.0.pet 
Filesize  6.11 KB 
Downloaded  354 Time(s) 
Menu.png
 Description   
 Filesize   30.64 KB
 Viewed   931 Time(s)

Menu.png

Game.png
 Description   
 Filesize   29.91 KB
 Viewed   929 Time(s)

Game.png

Editor.png
 Description   
 Filesize   39.69 KB
 Viewed   903 Time(s)

Editor.png

Solitaire_BG-v1.0.tar.gz
Description  Unpack & click to launch. !THIS IS OLD VERSION!
gz

 Download 
Filename  Solitaire_BG-v1.0.tar.gz 
Filesize  1.92 KB 
Downloaded  296 Time(s) 

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.

Last edited by SFR on Sun 29 Apr 2012, 15:12; edited 3 times in total
Back to top
View user's profile Send private message 
Makoto


Joined: 03 Sep 2009
Posts: 1795
Location: Out wandering... maybe.

PostPosted: Mon 09 Apr 2012, 00:20    Post subject:  

I think this one's normally known as 'peg solitaire,' or something like that. At least, that's the name I usually see used for it, on all the versions of it I've seen throughout the years. Neutral
_________________
[ Puppy 4.3.1 JP, Frugal install | 1GB RAM | 1.3GB swap ] * My Pidgin Builds for Puppy 4.3.1+
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1068

PostPosted: Mon 09 Apr 2012, 07:00    Post subject:  

Unfortunately in my experience it was always 'just' Solitaire, didn't know about this differentiation...
Thanks for the info.

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
Monsie


Joined: 01 Dec 2011
Posts: 633
Location: Kamloops BC Canada

PostPosted: Fri 27 Apr 2012, 03:52    Post subject: "Solitaire" board game (AKA "Peg Solitaire")  

Hi SFR,

Thanks very much for this game. It brought back some childhood memories. I knew this game as "Hi-Q" in the 1960s in Canada and I found a photo of the boxed game on-line so I am attaching it here for interest sake.

Historically, this game was known by a variety of names, but "Peg Solitaire" was probably most common. The game is a few centuries old, and there are some interesting variations in the layout of the pegs, or marbles on the board as explained right here in this Wikipedia article.

Monsie
Hi-Q.jpg
 Description   
 Filesize   108.09 KB
 Viewed   960 Time(s)

Hi-Q.jpg


_________________
My username is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1068

PostPosted: Fri 27 Apr 2012, 06:12    Post subject:  

Thanks Monsie.

Yeah, memories, I've been given this game when I was 6-7 y.o. maybe.
It took me really little time to find the best solution (1 piece in the middle), but now after years it took me much more time to re-find the solution.
It seems that my IQ/focus level is inversely proportional to my age. Laughing

When I find some more free time I would like to not only include another variations, but even write a simple editor for the user, to create own board layouts.
It's quite nightmarish task using <button> widgets, but I think possible.

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: Sat 28 Apr 2012, 15:03    Post subject:  

Dear SFR,

Very nice work. I did a few mods which I think are useful. For one, I didn't know the game, so I added a help screen. I also modded the svg-generating routine to produce slightly more interesting marbles. Please feel free to change as you wish and thanks, again.

With kind regards,
vovchik
solitaire-peg.jpg
 Description   
 Filesize   31.09 KB
 Viewed   937 Time(s)

solitaire-peg.jpg

solitaire-peg.tar.gz
Description 
gz

 Download 
Filename  solitaire-peg.tar.gz 
Filesize  2.83 KB 
Downloaded  286 Time(s) 
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1068

PostPosted: Sat 28 Apr 2012, 17:40    Post subject:  

Again, you're my "Look & Feel" saviour, thanks vovchik. Very Happy
I have started to write extended version (more layouts) and definitely I will include your mods in it!

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1068

PostPosted: Sun 29 Apr 2012, 10:45    Post subject: New version  

Hmm, it took me less time than I supposed...

New version is available - see the first post for screenshots and .pet.

@vovchik:
If there's anything you'd like to polish - go for it! I trust your aesthetic sense.

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: Mon 30 Apr 2012, 06:52    Post subject:  

Dear SFR,

What can I say? Very nice.

With kind regards,
vovchik

PS. And I like the game!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Games
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0622s ][ Queries: 13 (0.0056s) ][ GZIP on ]