Arimaa Forum (http://arimaa.com/arimaa/forum/cgi/YaBB.cgi)
Arimaa >> General Discussion >> new arimaa client
(Message started by: monste9 on Jan 10th, 2007, 7:57am)

Title: new arimaa client
Post by monste9 on Jan 10th, 2007, 7:57am

http://phm.36bit.com/ariubymaa.jpg

Just a few modifications to rubychess. It uses Ruby and tk. I've not tested it on windows yet, but it should run.  

Does anyone want to help with this?

Where can I find details about the arimaa server protocol?

People have tried to make other clients before, right? But none have succeeded...? Why not?

Title: Re: new arimaa client
Post by jdb on Jan 10th, 2007, 11:15am
After much digging in the archives, I found this

http://arimaa.com/arimaa/forum/cgi/YaBB.cgi?board=talk;action=display;num=1141702902;start=4#4

The specs for the protocol are at

http://arimaa.com/arimaa/protocol/

Title: Re: new arimaa client
Post by Fritzlein on Jan 10th, 2007, 8:49pm

on 01/10/07 at 07:57:32, monste9 wrote:
Does anyone want to help with this?

Alas, I can only vigorously cheer you on, as I lack the skills to help.  But I do remember how I was once nearly driven away from the game by the shortcomings of the Flash interface.  I suspect the Arimaa community has lost many players who would otherwise have become addicted, simply because the interface is slow and prone to crashing.  If you succeed in completing a new interface, you will have given the community a great gift.

Title: Re: new arimaa client
Post by omar on Jan 11th, 2007, 8:41am
Looks pretty neat. Hope the info on the protocol page is enough to get you started on the next phase. Let me know if you have any questions.

Title: Re: new arimaa client
Post by monste9 on Jan 11th, 2007, 1:54pm

error=Gameroom: action=gamestate not implemented

Title: Re: new arimaa client
Post by monste9 on Jan 12th, 2007, 3:16pm
http://phm.36bit.com/arimuby-0.13.4.tgz

Very early version. 439k. Not exactly useful yet, but it would be good to get more people testing on windows if anyone is feeling brave. It worked 100% on a friends box, but woh was getting errors (although that was an even earlier version).

It's really just a modified rubychess window embeded in the RubyGo framework. Funny, huh, chessandgo? : )

Winrar should be able to ungzip and inflate it. Then you can follow the install instructions on the RubyGo page (http://rubygo.rubyforge.org/). I think all the TK stuff is included by the one click Ruby installer, but I'm not sure. If it doesn't work you could try installing the TK libs seperately.

Once it's running, click the Elephant and Dog button. Then file -> open and open the sample game. After this, one of the navigator buttons should make a cat and rabbit appear somewhere on the board, which you can move around. I'm afraid that's all it does so far. By the end of tomorrow it should be able to load and step through a complete game properly. And if you can get this version to run, 99% sure all future versions will run. Post any errors/comments here, please.

Questions:

What is the suffix for arimaa game files?

Any ideas/prefs on the  program name? arimuby? ariubymaa? arimaauby? or just rubyarimaa?



Title: Re: new arimaa client
Post by omar on Jan 12th, 2007, 11:26pm

on 01/11/07 at 13:54:54, monste9 wrote:
error=Gameroom: action=gamestate not implemented


As far as I know this is implemented. Lets discuss it offline; I'll send you an email.



Title: Re: new arimaa client
Post by Fritzlein on Jan 13th, 2007, 8:37am
I vote for naming it RubyArimaa.  It's a boring name, but it has the advantage that people might know what you are talking about.

I downloaded and unzipped the the file on Windows, but I can't seem to untar it.  When I type

tar.exe -t arimuby-0.13.4.tar

I get the error

tar.exe: Cannot open -: Bad file descriptor

Title: Re: new arimaa client
Post by monste9 on Jan 13th, 2007, 9:16am
try this:

http://phm.36bit.com/RubyArimaa-0.13.5.zip

Title: Re: new arimaa client
Post by Fritzlein on Jan 13th, 2007, 4:35pm
OK, that worked.  I was able to open the sample game.  The screen filled with Silver rabbits.  When I tried to step forward, I got two stripes of Gold pieces in columns f and g.  Is this a bug, or what is supposed to happen because you haven't gotten that far yet?

This looks really cool: I hope you are able to keep developing it.

Title: Re: new arimaa client
Post by monste9 on Jan 13th, 2007, 5:22pm

heh, yep. It will do something sensible in the very near future. All the code is in place, just needs to be wired up properly. What did you do to make it work? Just the one-click ruby installer? You don't have Tk installed separately?

Thanks for testing.

Title: Re: new arimaa client
Post by Fritzlein on Jan 13th, 2007, 10:31pm
I did the one-click Ruby install, but when I tried to run the program, it complained, so I had to install tcl separately.

Title: Re: new arimaa client
Post by camelback on Apr 1st, 2007, 7:14pm
Hi monste9,

I can help you on developing this. I installed the zip file you have provided and I can see the silver rabbits and a gold horse as mentioned by Fritzlein.

Have you started a project at rubyforge or sourceforge etc.,?

Also do I have to learn GO to better understand the interface? :)



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