Page 1 of 1

Mahjongg clone

Posted: Fri 23 Dec 2005, 21:25
by ndujoe1
I downloaded the following Mahjongg cone fro Tucows. I attempted to install it but the operation said that I did not have the proper cc, which I assume is a C+ compiler.

Would an enterprising Puppy Linux user with these tools compile and make a Pup version of this game. If that is doable. thanks.

Posted: Thu 29 Dec 2005, 09:11
by syzygy
i've compiled xmahjongg but, instead of making as a dotpup, i've used makeself.sh script to make it as a self-extracting bzipped executable.

i've upx'ed it & kept only the gnome tileset, getting it down to 412kbytes.

it runs fine on my puter. my only question is where would i upload it to?

Posted: Thu 29 Dec 2005, 09:15
by MU
attach it to a personal message to me, and I will add it to dotpups.de
You also can attach programs up to 1 MB to a forum-message.

Mark

Posted: Thu 29 Dec 2005, 09:41
by syzygy
you're very quick mark. i'd never even noticed the "add attachment" button before!

here it is. i've bzipped it as when i sent to somebody unzipped it lost executable permissions. hopefully it still works!

didn't realise that makeself.sh has a "--nox11" option so that console window isn't created. have amended to include this.

cheers

Posted: Thu 29 Dec 2005, 09:44
by syzygy
how come the bzip2 extension is disallowed for file postings?

Posted: Thu 29 Dec 2005, 09:50
by MU
best is tar.gz

re: gsoko

Posted: Thu 29 Dec 2005, 10:05
by syzygy
i've done same thing for gsoko & it appears to work ok.

again i've added the --nox11 option to makeself.sh, so doesn't create console window.

Posted: Fri 30 Dec 2005, 09:37
by syzygy
following rarsa's post about using "strip -s", followed by upx, to reduce the size of a binary following make, i applied same to xmahjongg.

(see http://www.murga.org/%7Epuppy/viewtopic ... ight=strip)

this gave a fourfold reduction in size so i've reposted the xmahjongg.tar.gz file.

i tried similar with gsoko binary but difference was neglible so kept the original file as is.

Posted: Mon 10 Dec 2007, 13:41
by muggins
Following on from a query, from koolie, here's a .pet of xmahjongg. To run, Menu->Fun->Xmahjongg.

Mahjongg clone

Posted: Mon 10 Dec 2007, 20:37
by koolie
ah, muggins, you are over here now.

Thankyou for the dotpet. We are spoiled for choice now.
You are undoubtedly the king of games, and you have such an excellent filing system too.
Are you able to put your finger on a good CHESS game
that you could share with us?
If it is not a dotpet, that is ok, I can make one.

Posted: Mon 10 Dec 2007, 22:57
by muggins
koolie,

I know that GuestToo has a .pup for gnuchess available on this page here:

http://puppylinux.org/wikka/DotPups

Note that this is a commandline chess engine, but that a gui frontend, eboard, is available on the same page.

I've got another frontend, linechec, here:

http://www.murga-linux.com/puppy/viewtopic.php?t=21623

Does anyone know of any others?

Posted: Tue 11 Dec 2007, 03:44
by koolie
Thankyou, my friend.
I knew you would deliver.

Posted: Wed 12 Dec 2007, 23:46
by muggins
koolie,

Plus I forgot that gtkboard has available both a chess game, plus Antichess:

http://www.murga-linux.com/puppy/viewtopic.php?t=8449

Plus, look in this list for mahjongg variants reported as working with wine:

http://appdb.winehq.org/appbrowse.php?iCatId=78

Posted: Thu 13 Dec 2007, 00:30
by jonyo
muggins wrote:I've got another frontend, linechec, here:
Tried this out in 2.15, opens up, click on a pawn & try to drag it to another position - poof.. game is gone..

Any dragging (mighty touchy) causes a crash. Figured out that you click on a piece & then click an appropriate location.

Tried the other frontend..can't figure out how to move a piece..:P Dragging works but the piece returns to the original spot. :? (using - gnuchess507.pup)

Posted: Thu 13 Dec 2007, 03:08
by muggins
Yes Jonyo,

linechec is very frisky! Also, although I'm quite ignorant of the nuances of chess, my French is worse! So I could never work out how to set the gnuchess opponent as the default.

So, at the moment, when you start up, to manually play against gnuchess, you need to select from the menu:

Arreter Gnuchess.

And you need to wait awhile after your move, as gnuchess considers the next response.

As to using Eboard. I've never used it so I'm not sure. We'll have to put that one down as a stalemate.Image

Posted: Thu 13 Dec 2007, 21:37
by jonyo
Success :!: Moved a pawn in Eboard. Just need to go back now & figure out how I managed that.. :)

Tried the other again, worse now..click anywhere..poof.. :(

Edit - Gnuchess has responded with a move. :) Looks like a game is on..