Welcome, Guest. Please Login or Register.
Dec 4th, 2024, 9:45am

Home Home Help Help Search Search Members Members Login Login Register Register
Arimaa Forum « Arimaa Client for AEI »


   Arimaa Forum
   Arimaa
   Bot Development
(Moderator: supersamu)
   Arimaa Client for AEI
« Previous topic | Next topic »
Pages: 1 2  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Arimaa Client for AEI  (Read 9765 times)
rabbits
Forum Guru
*****




Arimaa player #1337

   
WWW

Gender: male
Posts: 108
Arimaa Client for AEI
« on: Feb 20th, 2010, 4:41pm »
Quote Quote Modify Modify

Here is a GUI for AEI: https://bitbucket.org/Rabbits/arimaa-client
 
Note that this project was originally hosted at https://launchpad.net/arimaa-client
 
The code isn't perfect, but it works.  Any feedback is welcome.
« Last Edit: Feb 26th, 2014, 12:14pm by rabbits » IP Logged

tize
Forum Guru
*****



Arimaa player #3121

   


Gender: male
Posts: 118
Re: Arimaa Client for AEI
« Reply #1 on: Feb 21st, 2010, 6:19am »
Quote Quote Modify Modify

It works very good, thank you very much.
 
I think it would be great if the pieces got autoselected by just moving the mouse over them, as in the gameroom. And I didn't get any sound. Other than that it is a very good first version, well done.
 
Now I really need to port marwin to aei so that I can play him and not just the random bot that comes with aei.
IP Logged
jdb
Forum Guru
*****



Arimaa player #214

   


Gender: male
Posts: 682
Re: Arimaa Client for AEI
« Reply #2 on: Feb 21st, 2010, 7:48am »
Quote Quote Modify Modify

Very nice!
 
I also didn't get sound, but it looks great.
IP Logged
rabbits
Forum Guru
*****




Arimaa player #1337

   
WWW

Gender: male
Posts: 108
Re: Arimaa Client for AEI
« Reply #3 on: Feb 21st, 2010, 11:05am »
Quote Quote Modify Modify

Quote:
I think it would be great if the pieces got autoselected by just moving the mouse over them, as in the gameroom.

Good idea.  I'll see what I can do.
 
Quote:
I also didn't get sound

What operating systems are you two using?  I also have sound troubles sometimes in Ubuntu.  In my case, I think it's a pulseaudio issue that I work around using the padsp command.
 
I am using wx.Sound for sound right now.  Does anybody know a better way to do operating system independent sound in Python?
IP Logged

jdb
Forum Guru
*****



Arimaa player #214

   


Gender: male
Posts: 682
Re: Arimaa Client for AEI
« Reply #4 on: Feb 21st, 2010, 1:31pm »
Quote Quote Modify Modify

I am using ubuntu. I have no idea about sound, so its likely my fault.
 
I hooked clueless up to it. Everything seemed to work fine.
« Last Edit: Feb 21st, 2010, 1:43pm by jdb » IP Logged
tize
Forum Guru
*****



Arimaa player #3121

   


Gender: male
Posts: 118
Re: Arimaa Client for AEI
« Reply #5 on: Feb 22nd, 2010, 11:29am »
Quote Quote Modify Modify

I'm also using ubuntu, I tried with the padsp and it worked great, thanks.
IP Logged
rabbits
Forum Guru
*****




Arimaa player #1337

   
WWW

Gender: male
Posts: 108
Re: Arimaa Client for AEI
« Reply #6 on: Feb 23rd, 2010, 3:33pm »
Quote Quote Modify Modify

I added auto-selection.  I like it a lot better because fewer mouse clicks are required.  Thanks for the idea tize.
 
on Feb 21st, 2010, 1:31pm, jdb wrote:
I have no idea about sound, so its likely my fault.

No, it's not your fault.  You shouldn't need to know anything about the sound setup.  Problems like this are exactly what scare people away from Linux.  I like to assume that it is either wxWidget's fault or PulseAudio's fault.
IP Logged

jdb
Forum Guru
*****



Arimaa player #214

   


Gender: male
Posts: 682
Re: Arimaa Client for AEI
« Reply #7 on: Feb 25th, 2010, 6:46am »
Quote Quote Modify Modify

on Feb 22nd, 2010, 11:29am, tize wrote:
I'm also using ubuntu, I tried with the padsp and it worked great, thanks.

 
How do I setup padsp? I'm running ubuntu but know next to nothing about installing things like that. Thanks.
IP Logged
rabbits
Forum Guru
*****




Arimaa player #1337

   
WWW

Gender: male
Posts: 108
Re: Arimaa Client for AEI
« Reply #8 on: Feb 25th, 2010, 7:49am »
Quote Quote Modify Modify

on Feb 25th, 2010, 6:46am, jdb wrote:
How do I setup padsp? I'm running ubuntu but know next to nothing about installing things like that. Thanks.

First, grab the package that contains padsp from the repositories.
Code:
sudo aptitude install pulseaudio-utils

Then, in your AEI config file, start the gui with padsp.
Code:
cmdline = padsp python ../arimaa-client/gui.py

Let us know if that helps.
IP Logged

tize
Forum Guru
*****



Arimaa player #3121

   


Gender: male
Posts: 118
Re: Arimaa Client for AEI
« Reply #9 on: Feb 25th, 2010, 11:14am »
Quote Quote Modify Modify

Quote:
I added auto-selection.

Thank you, it works great.
IP Logged
jdb
Forum Guru
*****



Arimaa player #214

   


Gender: male
Posts: 682
Re: Arimaa Client for AEI
« Reply #10 on: Feb 25th, 2010, 12:32pm »
Quote Quote Modify Modify

on Feb 25th, 2010, 7:49am, rabbits wrote:

First, grab the package that contains padsp from the repositories.
Code:
sudo aptitude install pulseaudio-utils

Then, in your AEI config file, start the gui with padsp.
Code:
cmdline = padsp python ../arimaa-client/gui.py

Let us know if that helps.

 
Yes it worked.
Thanks, I never would have figured out to put padsp in the config file.
IP Logged
99of9
Forum Guru
*****




Gnobby's creator (player #314)

  toby_hudson  


Gender: male
Posts: 1413
Re: Arimaa Client for AEI
« Reply #11 on: Feb 25th, 2010, 4:29pm »
Quote Quote Modify Modify

Wow, this sounds fantastic.  This could be sufficient motivation to get me to switch to AEI next year!  Congrats rabbits, keep up the good work.
IP Logged
rabbits
Forum Guru
*****




Arimaa player #1337

   
WWW

Gender: male
Posts: 108
Re: Arimaa Client for AEI
« Reply #12 on: Mar 27th, 2010, 4:50pm »
Quote Quote Modify Modify

I just hacked a "proxy" feature into my GUI.  Basically, it lets you watch a game between bots with the GUI.
 
I also added a basic getmove adapter script.
IP Logged

rajmahendra
Forum Senior Member
****




Raj

  rajeshblog  
Email

Gender: male
Posts: 40
Re: Arimaa Client for AEI
« Reply #13 on: Apr 17th, 2010, 4:28am »
Quote Quote Modify Modify

How to download ? sorry. i dont see any option!
IP Logged

rbarreira
Forum Guru
*****



Arimaa player #1621

   


Gender: male
Posts: 605
Re: Arimaa Client for AE.
« Reply #14 on: Apr 17th, 2010, 4:31am »
Quote Quote Modify Modify

on Apr 17th, 2010, 4:28am, rajmahendra wrote:
How to download ? sorry. i dont see any option!

 
I believe you can download the latest revision here:
 
http://bazaar.launchpad.net/~rabbits/arimaa-client/trunk/files/4
 
But maybe there's a better way, because this means downloading files individually?
« Last Edit: Apr 17th, 2010, 4:32am by rbarreira » IP Logged
Pages: 1 2  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

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