Welcome, Guest. Please Login or Register.
Nov 25th, 2024, 4:33am

Home Home Help Help Search Search Members Members Login Login Register Register
Arimaa Forum « Offline development on Mac or Windows »


   Arimaa Forum
   Arimaa
   Bot Development
(Moderator: supersamu)
   Offline development on Mac or Windows
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Offline development on Mac or Windows  (Read 3584 times)
ChessBox
Forum Full Member
***



Arimaa player #4140

   
WWW

Gender: male
Posts: 11
Offline development on Mac or Windows
« on: Apr 7th, 2012, 7:23am »
Quote Quote Modify Modify

Hi, I have been away from here for a long time. I hoped that after a while I would have been able to find some stand-alone GUIs and bots. Nevertheless I cannot find such things. Always there would be some Linux or Python ...
 
Even if there still is no such working GUI it would be fine to have at least an example of a working bug free stand-alone bot (its source code would be of less importance). Thus it would be possible for me to write such a GUI myself.
 
Best regards.
IP Logged
omar
Forum Guru
*****



Arimaa player #2

   


Gender: male
Posts: 1003
Re: Offline development on Mac or Windows
« Reply #1 on: Apr 7th, 2012, 3:21pm »
Quote Quote Modify Modify

Have you checked the downloads page, there are some GUIs and bots there.
 
http://arimaa.com/arimaa/download/
IP Logged
ChessBox
Forum Full Member
***



Arimaa player #4140

   
WWW

Gender: male
Posts: 11
Re: Offline development on Mac or Windows
« Reply #2 on: Apr 8th, 2012, 4:46am »
Quote Quote Modify Modify

Thank you very much for your reaction. But maybe there are very different views on what might be a stand-alone bot.
 
Opening that link (also to be found via "Downloads" from the Arimaa home page) and then investigating some referenced bots is leading me to some conglomerates of folders and files. But I am searching for merely ONE executable console application file (bot) best in combination with ONE executable desktop application file (GUI). I have no interest in first having to install some unwanted development environments like python, java or .NET. Additionally I do not have the intention to steal foreign ideas on how to write an Arimaa bot. Thus it is extremely misleading to have source files presented there at all, preparing a playing field for copy cats.
 
It would be sufficient initially to have a well tested console application (bot) which would reliably be obeying the AEI protocol. Then I would try to write first a GUI for have such bots playing locally each other. I would use RealBasic language for that, thus creating a multi-OS GUI covering Mac OS, Windows and Linux (as promised by the RealStudio IDE).  
 
Maybe you know me having written an 8x8 and 10x8 multi variant chess engine SMIRF within an own GUI in Windows. Because of the current crisis in competitive programming of chess engines caused by the inflationary done patch working of legal and illegal parts of foreign chess engines I am currently not much interested in improving my chess engine there.
 
It would be very welcomed, if the scene of Arimaa engine writers in contrast could be a better alternative.
IP Logged
dree12
Forum Senior Member
****



Arimaa player #4082

   


Gender: male
Posts: 27
Re: Offline development on Mac or Windows
« Reply #3 on: Apr 8th, 2012, 4:35pm »
Quote Quote Modify Modify

I believe that .NET and Java are both common to a default Windows installation, and Java and Python to a default Linux installation at the very least.
IP Logged
ChessBox
Forum Full Member
***



Arimaa player #4140

   
WWW

Gender: male
Posts: 11
Re: Offline development on Mac or Windows
« Reply #4 on: Apr 8th, 2012, 5:00pm »
Quote Quote Modify Modify

@dree12: does that mean, that there is no stand-alone Windows bot exe, or such a Mac OS X bot app?
 
Then it will take some more time ...
IP Logged
browni3141
Forum Guru
*****



Arimaa player #7014

   


Gender: male
Posts: 385
Re: Offline development on Mac or Windows
« Reply #5 on: Apr 8th, 2012, 8:10pm »
Quote Quote Modify Modify

I haven't checked all of the downloads, but botFairy contains executables. The source code will also be downloaded, but if you don't want it just delete it. botFairy is written in C so you don't need an interpreter or the .Net framework or anything like that. You don't even need a C compiler because the executables are in the download.
 
I don't understand why it's misleading to provide the source code in downloads. It is offered so that people may build off of it instead of starting from scratch if they want to, or just to use it as some kind of reference or for ideas.
IP Logged

ChessBox
Forum Full Member
***



Arimaa player #4140

   
WWW

Gender: male
Posts: 11
Re: Offline development on Mac or Windows
« Reply #6 on: Apr 9th, 2012, 3:13am »
Quote Quote Modify Modify

on Apr 8th, 2012, 8:10pm, browni3141 wrote:
I haven't checked all of the downloads, but botFairy contains executables. The source code will also be downloaded, but if you don't want it just delete it. botFairy is written in C so you don't need an interpreter or the .Net framework or anything like that. You don't even need a C compiler because the executables are in the download.

Starting fairy light.exe at the command line produces:
Code:
Program requires an argument (name of file containing position).
Hash-table turned off.
Entries in hashtable : 4194304
Hash mask : 0X3FFFFF
Memory reserved : 134217728
Couldn't read position from file.

Thus it seems not to obey the rules of the AEI protocol, thus not being a bot. Instead it probably is a program for analyzing a set of testing positions.
 
on Apr 8th, 2012, 8:10pm, browni3141 wrote:
I don't understand why it's misleading to provide the source code in downloads. It is offered so that people may build off of it instead of starting from scratch if they want to, or just to use it as some kind of reference or for ideas.

Concerning the writing of competitive programming the "Open Source" idea is counter productive. Instead I vote for "Open Experiences" e.g. providing new own thoughts. So there is no need to discuss programming ideas by also attaching reusable packages of source code.  
« Last Edit: Apr 9th, 2012, 3:14am by ChessBox » IP Logged
rbarreira
Forum Guru
*****



Arimaa player #1621

   


Gender: male
Posts: 605
Re: Offline development on Mac or Windows
« Reply #7 on: Apr 9th, 2012, 4:44am »
Quote Quote Modify Modify

This page has a link to binaries for a AEI bot (search for the word "binaries") in the page:
 
http://arimaa.janzert.com/opfor/
IP Logged
ChessBox
Forum Full Member
***



Arimaa player #4140

   
WWW

Gender: male
Posts: 11
Re: Offline development on Mac or Windows
« Reply #8 on: Apr 9th, 2012, 5:03am »
Quote Quote Modify Modify

on Apr 9th, 2012, 4:44am, rbarreira wrote:
This page has a link to binaries for a AEI bot (search for the word "binaries") in the page:
 
http://arimaa.janzert.com/opfor/

Thank you very much! This looks like establishing a good starting point for my intentions. In fact it is responding well to an "aei" input correctly corresponding to the AEI protocol.
IP Logged
rabbits
Forum Guru
*****




Arimaa player #1337

   
WWW

Gender: male
Posts: 108
Re: Offline development on Mac or Windows
« Reply #9 on: Apr 10th, 2012, 5:38pm »
Quote Quote Modify Modify

Older bots like Fairy were written before AEI was around, but Fairy definitely is a bot!  It uses an older protocol.
 
If you want to use AEI, you are going to need Python... I'm not sure why you're concerned about having things stand-alone or be executables.
 
Janzert is the person that invented AEI, and OpFor is his bot.  It is very kind of him to share it with us Smiley
 
I shared a GUI at https://launchpad.net/arimaa-client  Yes, it is written in Python, bleh.  (I don't care for Python either.)  And I use it in Linux, but I have also gotten it to work in OS X.  I've never tried it in Windows or heard if anyone else has used it in Windows, but it theoretically should work in Windows too Smiley
 
Good luck with your bot!
IP Logged

ChessBox
Forum Full Member
***



Arimaa player #4140

   
WWW

Gender: male
Posts: 11
Re: Offline development on Mac or Windows
« Reply #10 on: Apr 11th, 2012, 5:55am »
Quote Quote Modify Modify

@rabbits: well, I intend to write an own GUI, best Multi-OS aware using the RealBasic language, (despite of that I mostly do such work on a Mac OS X surface). Thus I need an AEI bot first for the purpose of testing the protocol interface of the to be developed Arimaa-GUI. Also I intend to write an own bot according to that protocol. Anyway I am proceding very slowly with both projects. Thus it will need a lot of time to finish them.  
 
I have not intended to offend bot program authors aside of the AEI scene. But I have got the impression, that it might be recommended for newcomers to follow that AEI protocol. Am I wrong with that?
 
Regards, R. S.
IP Logged
rbarreira
Forum Guru
*****



Arimaa player #1621

   


Gender: male
Posts: 605
Re: Offline development on Mac or Windows
« Reply #11 on: Apr 11th, 2012, 7:18am »
Quote Quote Modify Modify

AEI is indeed the best interface available to make a bot, and the recommended one.
IP Logged
Hippo
Forum Guru
*****




Arimaa player #4450

   


Gender: male
Posts: 883
Re: Offline development on Mac or Windows
« Reply #12 on: Apr 11th, 2012, 10:16am »
Quote Quote Modify Modify

on Apr 11th, 2012, 7:18am, rbarreira wrote:
AEI is indeed the best interface available to make a bot, and the recommended one.

 
And I am that stupid that I do extensions to AEI ...  
1) I have added the chat command
2) I am sending option "sid" to my bot ... to make separate log files depending on the table.
 
... seems I should do everything to make it standard ...
 
=============
rabbits@ I use your client under Win XP ... and it works well till I touch a keyboard. (The same in original client as in my clones). I want to know if this is only my problem or generally some Win incompability.
IP Logged

Pages: 1  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.