Arimaa Forum (http://arimaa.com/arimaa/forum/cgi/YaBB.cgi)
Arimaa >> General Discussion >> linux gtk client
(Message started by: NIC1138 on Apr 2nd, 2006, 11:25pm)

Title: linux gtk client
Post by NIC1138 on Apr 2nd, 2006, 11:25pm
Hi folks.  Being a great Linux and GTKmm enthusiast, I`m developping a client with GTKmm.  I`ve already started to play with the protocol, and now I`m starting to make the graphical front-end. It will feature a new set of animal icons! :)

Any help is appreciated!... We could think about modularizing our clients too, or crating libraries, what do you think?



Title: Re: linux gtk client
Post by PMertens on Apr 3rd, 2006, 8:02am
being a Microsoft enthusiast I love the modularizing part .... that way even friends of the evil empire can have fun :-P

Title: Re: linux gtk client
Post by NIC1138 on Apr 3rd, 2006, 10:47am
Hey, I heard it's not very difficult these days to compile a GTK program under windows, would you like to give it a try?  (after the program reaches a safe level of usability, of course...)

Title: Re: linux gtk client
Post by PMertens on Apr 3rd, 2006, 1:18pm
sure ... always open to experiments ;-)
(and very much interested in a client as well)

Title: Re: linux gtk client
Post by Fritzlein on Apr 3rd, 2006, 1:24pm
I would love to see the new animal icons.  And you may have noticed there is a lot of built up demand for a more stable client.  Ron Wealey is the extreme case: he basically doesn't play live games for want of a client.  (Actually it's remarkable that he has stayed around; I hypothesize that a least a few folks have gotten frustrated with interface freezes and left Arimaa for good.)  If you create a stable Arimaa client, you'll suddenly be very popular around here.  :-)

Title: Re: linux gtk client
Post by Swynndla on Apr 4th, 2006, 1:30am
I have to connect to a Windows Citrix server at my work from my linux box just to play arimaa ... and if it wasn't for that then yes I wouldn't play live games.

NIC1138 got me to test his non-gui client and it seems to work great.  He did it so fast too!  I'm waiting for the gui version and I'd be keen to be a alpha/beta tester.

NIC1138, would it be possible to choose between the fancy pieces and the "normal" pieces (on the arimaa site)?  Or would this break some sort of copyrite?

Title: Re: linux gtk client
Post by NIC1138 on Apr 4th, 2006, 2:41am
Thanks for all the feedback!!  8)

About the animal images: The idea is to have a flexible system, so it should be possible to use any set you want. I don't know if Arimaa' s original are free to copy or not, perhaps Omar can enlighten us about this!... :)

I asked my brother do design some cute pieces, but ultil then we have only an ugly duckling I made in 2 minutes using gimp... 8) I sent an e-mail to Everaldo.com also, and the do answered!! But it seems their company is a little busy right now to think about a free project! :(

The current state is:  I can draw the board, and move the pieces with beautiful drag and drop. I'm not checking every rule yet, but it's almost playable.

Now I just have to connect the GUI to the rest of the program...  In 2 days perhaps I'll have a version good enough for your guys to test!...

Now, for the incredule, here is a screen shot  of it right now!... :) Notice the movements on the window at the left... (no, it's not a valid game)

http://201.31.197.49:64000/~nwerneck/almox/screenshot.png

That's it for now.. Time to sleep! :D

Title: Re: linux gtk client
Post by Swynndla on Apr 4th, 2006, 6:11am
wow you are so fast!

Those animal pics are a real laugh ... I love them!  :D

(I want your background image too by the way... )

Now I know there's a move checker available for download off the arimaa site, that can produce a list of all legal moves ... will you be using that?  I think it's also used on the gameroom site to check that moves are legal in the games that are played.  It's written in perl, but I know you are using C++ ... can it (should it) be incorporated into your client?  If it is, then your client could indicate what moves are playable (like the gameroom client does with it's arrows showing up when the mouse in over a piece).  I have know idea what would happen if an illegal move is sent to the gameroom.

Forget about those arimaa strategy links I recomended, and keep up the good work with the client instead! ;)

Title: Re: linux gtk client
Post by Fritzlein on Apr 4th, 2006, 9:57am

on 04/04/06 at 02:41:31, NIC1138 wrote:
About the animal images: The idea is to have a flexible system, so it should be possible to use any set you want. I don't know if Arimaa' s original are free to copy or not, perhaps Omar can enlighten us about this!... :)

Omar recently put the images in the public domain.  See
http://arimaa.com/arimaa/graphics/

Also see clauchau's board and piece graphics:
http://arimaa.com/arimaa/forum/cgi/YaBB.cgi?board=talk;action=display;num=1131110087;start=15

I second Swynndla: You are amazingly fast.

Title: Re: linux gtk client
Post by Fritzlein on Apr 4th, 2006, 10:28am

on 04/04/06 at 06:11:12, Swynndla wrote:
I have no idea what would happen if an illegal move is sent to the gameroom.

Sometimes bot_Arimaanator sends an illegal move, specifically a move that doesn't change the position.  I believe the gameserver sends a rejection message, but bot_Arimaanator doesn't understand it, and thus times out waiting for the opponent to move.


Quote:
Forget about those arimaa strategy links I recomended, and keep up the good work with the client instead! ;)

Yeah, any old schmuck can play Arimaa.  Those who can code, should!  All the coding Omar has done to build a great server has done way more to promote Arimaa than the silly wiki articles I helped write.  I just contributed to those because I could.  But there's only one of Omar, and there's a long list of programming tasks to be done.

Title: Re: linux gtk client
Post by Swynndla on Apr 4th, 2006, 3:53pm

on 04/04/06 at 09:57:43, Fritzlein wrote:
Omar recently put the images in the public domain.  See
http://arimaa.com/arimaa/graphics/


Excellent ... Omar does soooo much for arimiaa.

NIC1138, will it be tricky for someone to use your gui on ms windows? ... how hard would it be for them to install gtk? Will it be hard for them to sort you all there dependencies?  But even if it is too tricky for the windows users, at leat the linux users wont give up in frustration if they see a linux client link!

Title: Re: linux gtk client
Post by omar on Apr 5th, 2006, 10:22pm
Looking forward to seeing your client, Nic. Feel free to use the Arimaa images and sound files.

Title: Re: linux gtk client
Post by IdahoEv on Apr 6th, 2006, 4:52pm
I thought a fun set of icons would be the mascots from the o'reilly books.  Yet another use for the Perl camel.

Other obvious ones:
Camel - Perl
Horse - Linux in Nutshell
Dog - (some?) Mac OS X books have a German Shepherd Dog

Unfortunately, there's no easy way to search the mascots, and O'Reilly makes a lot of books!

More unfortunately, they are copyrighted.  :-(

P.S. Are the interface specifications for bots/clients available online?

Title: Re: linux gtk client
Post by NIC1138 on Apr 23rd, 2006, 10:59pm
OK, sorry to let everybody down,  but I simply halted the development.  After a week of crazy programming, I got tired when I started to face the problem of the opening of the game... It was something very difficult to make, when I tought I was very close to finishing the program!! :/

I can send the code I did if anybody is interested... I hope I can finish a playable version next weekend!... :(

PS: The O´Reilly ideda is GREAT! :D


Title: Re: linux gtk client
Post by Swynndla on Apr 23rd, 2006, 11:03pm
Don't feel that you've let us down ... we have no right to expect or demand anything!

Take you time, don't feel as though you owe us in any way.

In saying that, anything you do will be appreciated ;)

Title: Re: linux gtk client
Post by nbarriga on Apr 24th, 2006, 6:40pm

on 04/23/06 at 22:59:07, NIC1138 wrote:
I can send the code I did if anybody is interested... I hope I can finish a playable version next weekend!... :(


Can you send it to me? Perhaps i could make some contributions when i have some spare time.

Title: Re: linux gtk client
Post by NIC1138 on May 4th, 2006, 1:38am
OK, I 'm back home... Since I couldn't recognise my own code, the development took another route... I'm creating a "local"  client first, to try connecting later (my internet conenction has some problems too, and it's  hard to play or test)...

The good new is:  I made myself a very pretty arimaa board!! Take a look!!  8)

http://201.44.167.40:64000/~nwerneck/almox/newboard.png

The stones still ugly tough.  I'm trying to make some new, but it's hard to match the dark board colour...  :-/

Title: Re: linux gtk client
Post by NIC1138 on May 9th, 2006, 11:45pm
Good news!... I've played my first game with my graphical client!!
( Yes, I lost the match...  :P )

I will try to implement the undo  ( like the red "<"  in the flash client )  and the animation of the opponent's movements before releasing a "public"  version, but if there's anybody interested, I can send the current version.

Does anybody here has experience with freshmeat or something like that?  ;D

Title: Re: linux gtk client
Post by 99of9 on May 10th, 2006, 1:04am
Is it gameroom-capable, or still a local client?  If it's still local, how did you lose against yourself? :-)

I'll look forward to the public release.

Title: Re: linux gtk client
Post by Swynndla on May 10th, 2006, 2:41am
It is gameroom capable ... NIC got me to test the text-base client, and this is the graphical version (although I haven't tested it yet).  I spoke to NIC today, who said he had just lost to a bot using his graphical client.  If I'm right (and I'm pretty sure I am) then this must be the game he lost:
Game 31240

Title: Re: linux gtk client
Post by nbarriga on May 23rd, 2006, 9:03pm
Any updates on the client? Can you publish(or send to me) what you currently have?

Title: Re: linux gtk client
Post by NIC1138 on Feb 24th, 2007, 10:32pm
Hello there!... I've been away for quite a while, but I was thinking about perhaps dedicating some time to this again... Didn't anybody started another Linux client yet?? How much microsoft lovers are you?? :)

Is there any way I can start matches without losing my precisous grade points?? :(

Title: Re: linux gtk client
Post by Fritzlein on Feb 24th, 2007, 11:22pm
It's good to see you back!

You can play matches in "Unrated Mode".  Follow the link on the left-hand side of the gameroom.

Monste9 did start making a RubyArimaa client, but that never finished either.  See http://arimaa.com/arimaa/forum/cgi/YaBB.cgi?board=talk;action=display;num=1168437452



Arimaa Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.