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 Wed 22 Oct 2014, 04:15
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 Posts_count  
Author Message
SFR


Joined: 26 Oct 2011
Posts: 1078

PostPosted: Sun 08 Apr 2012, 08:15    Post_subject:  "Solitaire" board game (AKA "Peg Solitaire")
Sub_title: 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  361 Time(s) 
Menu.png
 Description   
 Filesize   30.64 KB
 Viewed   952 Time(s)

Menu.png

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

Game.png

Editor.png
 Description   
 Filesize   39.69 KB
 Viewed   917 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  302 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.

Edited_times_total
Back to top
View user's profile Send_private_message 
Makoto


Joined: 03 Sep 2009
Posts: 1797
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: 1078

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   973 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: 1078

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   949 Time(s)

solitaire-peg.jpg

solitaire-peg.tar.gz
Description 
gz

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


Joined: 26 Oct 2011
Posts: 1078

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: 1078

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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Games
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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