Re: [Gnoga-list] AdaOthello port for Gnoga

2016-03-14 Thread Jeremiah Breeden
Thank you.  I emailed you the zip file (has both the Gnoga version I ported
and the original Gtk version for reference).  I deleted the build files and
the .exe to make the zip file smaller.

On Mon, Mar 14, 2016 at 8:15 PM, Rabbi David Botton 
wrote:

> You can also just e-mail me directly the zip and I can put into git.
>
> David Botton
> 
>
>
--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231=/4140___
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list


Re: [Gnoga-list] AdaOthello port for Gnoga

2016-03-14 Thread Pascal
Hello Jeremiah, find some answers below.
Regards, Pascal.
http://blady.pagesperso-orange.fr


> Le 11 mars 2016 à 01:09, Jeremiah Breeden  a 
> écrit :
> 
> I've been talking with the author (Adrian Hoe) to AdaOthello, an Othello 
> implementation written in Ada using GtkAda as the GUI.  He has agreed to 
> allow me to port and release a copy of it implemented in Gnoga. 
Great!!!

> 
> I've already mostly gotten it done now, but wanted to ask a few questions:
> 
> 1.  What is the preferred method of submittal for a game port as a demo for 
> gnoga?  Should I just email this list with the attached files when ready?
Take care that the size of attached files is limited on the list, a better way 
is to provide a link to zipped files.

> 
> 2.  Currently, I have the application setup as a multi-connect, but I still 
> have the Quit button implemented to fully kill the application.  This would 
> be a bad idea for a website implementation, but for a demo in the gnoga 
> install, it might be ok?  Should I just ax the quit button altogther, leave 
> it as is, or do some other implementation?
When I had ported Connect Four, ones asked for a quit button, so when I've 
ported LinXtris I let the quit button.
Though I agree that the quit button is curious on a web app. I would say let it 
as it is in the original app for a first release.
Then it will be always possible to change ;-)

> 
> 3.  I basically just ported it, so I didn't go through and rename a lot of 
> things.  I only made the changes I needed to get it to work (I had to add 
> parameters to each of the procedure calls and put a lot of package level 
> variables into the App_Data_Type for example).  The changes were extensive, 
> but I still didn't change some of the names, which may not make as much sense 
> in my port, but I thought it would make it slightly easier to compare old to 
> new (despite my changes).  Example:  I changed the image type used in GKT for 
> the circles into just View_Type objects that were circle shaped, but I still 
> kept the variable name "pixmap".  They obviously aren't image types any 
> longer, but felt it would be easier to find them for comparison later.  Is 
> this OK?  Should I instead go back and name things appropriately for the new 
> types and implementations?
With the ports I did, I let the original code commented and so I kept the 
original names in order to show how to translate some GTK APIs in Gnoga ones.

> 
> 4.  License.  It looks like it fits David's prefferred type of license but I 
> will be the first to admit I don't know enough to be sure.  Here is a sample 
> file header license:
> 
> 
> --|   Othello - The Classic Othello Game written in Ada
> --|
> --|   Copyright (C) 2001 Adrian Hoe (by...@users.sourceforge.net)
> --|
> --| Othello is free software; you can redistribute it and/or modify
> --| it under the terms of the GNU General Public License as published
> --| by the Free Software Foundation; either version 2 of the License,
> --| or (at your option) any later version.
> --|
> --| This software is distributed in the hope that it will be useful,
> --| and entertaining but WITHOUT ANY WARRANTY; without even the
> --| implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
> --| PURPOSE.  See the GNU General Public License for more details.
> --|
> --| You should have received a copy of the GNU General Public
> --| License along with this software; if not, write to the
> --| Free Software Foundation, Inc., 59 Temple Place - Suite 330,
> --| Boston, MA 02111-1307, USA.
> --|
> --| Filename : $Source: /othello_pkg-callbacks.adb,v $
> --| Author   : Adrian Hoe (byhoe)
> --| Created On   : 2001/11/15
> --| Last Modified By : $Author: JHB $
> --| Last Modified On : $Date: 2016/03/06 09:18:25 $
> --| Status   : $State: Exp $
> --|
> 
> 
> I think this means it allows for the same license as Gnoga uses.  That sound 
> right?`
Gnoga is GPL 3 but demos are not part of Gnoga library itself.
I guess, the most important is you got agreement from Adrian Hoe.
By the way, it remains me to update AUTHORS file in Gnoga.

> 
> Thanks!
> --
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785111=/4140___
> Gnoga-list mailing list
> Gnoga-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gnoga-list


--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.