AminetAminet
Search:
84672 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/libs/ggtl.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Generic Game Tree Library
Author:mrustler at t-online.de (Matthias Rustler)
Uploader:mrustler t-online de (Matthias Rustler)
Type:util/libs
Version:0.1
Requires:OS3.1
Architecture:m68k-amigaos
Date:2004-05-09
Download:http://aminet.net/util/libs/ggtl.lha - View contents
Readme:http://aminet.net/util/libs/ggtl.readme
Downloads:1170

This is a port of ggtl (generic game tree library), sl (stack libaray)
and opt (command line options library) to the AmigaOS. I have ported the
examples Othello and Connect4 to Intuition. The source code is released
under GPL and is included. See http://brautaset.org/projects/ggtl/
for the original Linux release.

What is GGTL?
-------------
GGTL (Generic Game-Tree Library) is a library aiming to ease the
creation of computer games. It is written in ANSI C and released under
the GNU GPL for maximum portability and accessibility. Ease of use was
one of the main areas of focus when creating GGTL.

GGTL is targeted in particular at two-player zero-sum
perfect-information games. A zero-sum game is any game where an
advantage for one player results in an equally large disadvantage for
the opponent. Perfect-information means that the state of the game will
not change while the player is taking time to chose her move, i.e.
players alternate taking moves.

Examples of games where GGTL can be used are Chess, Othello, Checkers
and Go. For these games, GGTL provides game-tree search utilising
MiniMax search with Alpha-Beta pruning (briefly explained below, in case
this means nothing to you). It also automatically provides history and
unlimited undo for any games it is used with. Additionally, GGTL can
write game information to a file and restore from it with no loss of
history (full undo-capabilities and history is available on resumed
programs too).

GGTL can be useful even for games that do not meet all of the above
criteria. For many such games, GGTL can still provide history and
undo-facilities as well as well as the ability to save and resume.

Differences between Amiga port and original code
------------------------------------------------
It isn't a shared library. The makefile just creates object (*.o) files
which you should link wih your game source code.
GGTL uses a function from timer device. This means you must open the timer
device
and set TimerBase, otherwise the program will crash. (see example code for
Othello and Connect4.)

I have used GCC3.3. The source is ANSI C. It should compile with other
Amiga C compilers, but I can't guarantee.


Contents of util/libs/ggtl.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1370    1703  80.4% -lh5- 2c3b May  8  2004 ggtl.info
[generic]                16903   33908  49.8% -lh5- 76fc May  8  2004 ggtl/aconnect4
[generic]                17396   36408  47.8% -lh5- e362 May  8  2004 ggtl/amoth
[generic]                   61      84  72.6% -lh5- 74a1 May  2  2004 ggtl/config-options.h
[generic]                 2802    7126  39.3% -lh5- 96c2 May  8  2004 ggtl/connect4/aconnect4.c
[generic]                  639    2911  22.0% -lh5- da46 Mar  3  2004 ggtl/connect4/ChangeLog
[generic]                 2996    9277  32.3% -lh5- 7feb May  8  2004 ggtl/connect4/libc4.c
[generic]                  914    1976  46.3% -lh5- f09a Mar  3  2004 ggtl/connect4/libc4.h
[generic]                 7015   18009  39.0% -lh5- e98e Mar  3  2004 ggtl/connect4/LICENCE
[generic]                  550     997  55.2% -lh5- f72c May  8  2004 ggtl/connect4/README
[generic]                  205     255  80.4% -lh5- b154 Mar  3  2004 ggtl/connect4/THANKS
[generic]                   75      77  97.4% -lh5- e147 Mar  3  2004 ggtl/connect4/TODO
[generic]                 7169   18456  38.8% -lh5- fd8d Mar  3  2004 ggtl/COPYING
[generic]                 1178    2367  49.8% -lh5- e346 May  8  2004 ggtl/ggtl.readme
[generic]                 1844    2781  66.3% -lh5- cc30 May  8  2004 ggtl/ggtl.readme.info
[generic]                 1998   23687   8.4% -lh5- 1628 Mar  3  2004 ggtl/ggtl/ChangeLog
[generic]                  626    1446  43.3% -lh5- 332d Mar  3  2004 ggtl/ggtl/doc/html/annotated.html
[generic]                  653    1303  50.1% -lh5- 219e Mar  3  2004 ggtl/ggtl/doc/html/bug.html
[generic]                 1067    4828  22.1% -lh5- b8da Mar  3  2004 ggtl/ggtl/doc/html/doxygen.css
[generic]                 1576    1576 100.0% -lh0- 1b38 Mar  3  2004 ggtl/ggtl/doc/html/doxygen.png
[generic]                  643    1405  45.8% -lh5- 6f50 Mar  3  2004 ggtl/ggtl/doc/html/files.html
[generic]                  812    2394  33.9% -lh5- 6f3f Mar  3  2004 ggtl/ggtl/doc/html/functions.html
[generic]                  747    2277  32.8% -lh5- 81c0 Mar  3  2004 ggtl/ggtl/doc/html/functions_vars.html
[generic]                 7951   70422  11.3% -lh5- 4db4 Mar  3  2004 ggtl/ggtl/doc/html/ggtl_8c.html
[generic]                 1874   10372  18.1% -lh5- 9b35 Mar  3  2004 ggtl/ggtl/doc/html/ggtl_8h-source.html
[generic]                 7663   63596  12.0% -lh5- 0dfc Mar  3  2004 ggtl/ggtl/doc/html/ggtl_8h.html
[generic]                 1213    5753  21.1% -lh5- 1f6c Mar  3  2004 ggtl/ggtl/doc/html/globals.html
[generic]                  613    1369  44.8% -lh5- 228b Mar  3  2004 ggtl/ggtl/doc/html/globals_defs.html
[generic]                  698    1786  39.1% -lh5- 3f70 Mar  3  2004 ggtl/ggtl/doc/html/globals_eval.html
[generic]                 1014    4937  20.5% -lh5- 6a46 Mar  3  2004 ggtl/ggtl/doc/html/globals_func.html
[generic]                  618    1377  44.9% -lh5- 0757 Mar  3  2004 ggtl/ggtl/doc/html/globals_type.html
[generic]                 5025   14090  35.7% -lh5- 455d Mar  3  2004 ggtl/ggtl/doc/html/index.html
[generic]                  579    1175  49.3% -lh5- 0925 Mar  3  2004 ggtl/ggtl/doc/html/pages.html
[generic]                 2023   15139  13.4% -lh5- 57b4 Mar  3  2004 ggtl/ggtl/doc/html/structggtl.html
[generic]                 1079    2975  36.3% -lh5- 533c Mar  3  2004 ggtl/ggtl/doc/html/structggtl__move.html
[generic]                 1091    2983  36.6% -lh5- 2803 Mar  3  2004 ggtl/ggtl/doc/html/structggtl__pos.html
[generic]                  726    1630  44.5% -lh5- 9bb8 Mar  3  2004 ggtl/ggtl/doc/html/todo.html
[generic]                12548   43749  28.7% -lh5- 70a1 Mar  3  2004 ggtl/ggtl/Doxyfile
[generic]                  475     899  52.8% -lh5- 7481 Mar  3  2004 ggtl/ggtl/ggtl-dbg-stats.sh
[generic]                 8221   29236  28.1% -lh5- 53ec May  2  2004 ggtl/ggtl/ggtl-old.c
[generic]                 8117   29015  28.0% -lh5- 1206 May  8  2004 ggtl/ggtl/ggtl.c
[generic]                 1289    3803  33.9% -lh5- 21ee Mar  3  2004 ggtl/ggtl/ggtl.h
[generic]                 7015   18009  39.0% -lh5- e98e Mar  3  2004 ggtl/ggtl/LICENCE
[generic]                 4379   10757  40.7% -lh5- 8cdb Mar  3  2004 ggtl/ggtl/README
[generic]                  284     370  76.8% -lh5- 0974 Mar  3  2004 ggtl/ggtl/THANKS
[generic]                  217     310  70.0% -lh5- e833 Mar  3  2004 ggtl/ggtl/TODO
[generic]                12599   24656  51.1% -lh5- e010 May  8  2004 ggtl/ggtl/ttt
[generic]                 2859    8638  33.1% -lh5- 5343 May  8  2004 ggtl/ggtl/ttt.c
[generic]                  511    1833  27.9% -lh5- 1da5 May  8  2004 ggtl/Makefile
[generic]                 2932    7603  38.6% -lh5- bc6e May  8  2004 ggtl/moth/amoth.c
[generic]                  834    6350  13.1% -lh5- 8af4 Mar  3  2004 ggtl/moth/ChangeLog
[generic]                 3567   12741  28.0% -lh5- 8d88 May  8  2004 ggtl/moth/libmoth.c
[generic]                  877    1907  46.0% -lh5- 3faa Mar  3  2004 ggtl/moth/libmoth.h
[generic]                  551    1018  54.1% -lh5- 6d2f May  8  2004 ggtl/moth/README
[generic]                  272     382  71.2% -lh5- a617 Mar  3  2004 ggtl/moth/THANKS
[generic]                 1102    6129  18.0% -lh5- bae8 Mar  3  2004 ggtl/options/ChangeLog
[generic]                  652    1504  43.4% -lh5- 656c Mar  3  2004 ggtl/options/doc/html/annotated.html
[generic]                 1067    4828  22.1% -lh5- b8da Mar  3  2004 ggtl/options/doc/html/doxygen.css
[generic]                 1576    1576 100.0% -lh0- 1b38 Mar  3  2004 ggtl/options/doc/html/doxygen.png
[generic]                  675    1508  44.8% -lh5- 8749 Mar  3  2004 ggtl/options/doc/html/files.html
[generic]                  737    1980  37.2% -lh5- 7222 Mar  3  2004 ggtl/options/doc/html/functions.html
[generic]                  676    1879  36.0% -lh5- 1b27 Mar  3  2004 ggtl/options/doc/html/functions_vars.html
[generic]                  898    3221  27.9% -lh5- bee9 Mar  3  2004 ggtl/options/doc/html/globals.html
[generic]                  653    1586  41.2% -lh5- d997 Mar  3  2004 ggtl/options/doc/html/globals_defs.html
[generic]                  628    1474  42.6% -lh5- 9f17 Mar  3  2004 ggtl/options/doc/html/globals_enum.html
[generic]                  710    2004  35.4% -lh5- 1123 Mar  3  2004 ggtl/options/doc/html/globals_eval.html
[generic]                  698    2132  32.7% -lh5- 0757 Mar  3  2004 ggtl/options/doc/html/globals_func.html
[generic]                 2510    8715  28.8% -lh5- 7deb Mar  3  2004 ggtl/options/doc/html/index.html
[generic]                 2908   17832  16.3% -lh5- c591 Mar  3  2004 ggtl/options/doc/html/opt_8c.html
[generic]                 1640    6679  24.6% -lh5- 4375 Mar  3  2004 ggtl/options/doc/html/opt_8h-source.html
[generic]                 3295   19022  17.3% -lh5- 8a68 Mar  3  2004 ggtl/options/doc/html/opt_8h.html
[generic]                  575    1173  49.0% -lh5- 959f Mar  3  2004 ggtl/options/doc/html/pages.html
[generic]                  661    1884  35.1% -lh5- fb83 Mar  3  2004 ggtl/options/doc/html/structopt-members.html
[generic]                 1219    5233  23.3% -lh5- b887 Mar  3  2004 ggtl/options/doc/html/structopt.html
[generic]                  668    1985  33.7% -lh5- e3ca Mar  3  2004 ggtl/options/doc/html/structopt__defs-members.html
[generic]                 1506    6521  23.1% -lh5- 3b1e Mar  3  2004 ggtl/options/doc/html/structopt__defs.html
[generic]                  696    1397  49.8% -lh5- 63af Mar  3  2004 ggtl/options/doc/html/todo.html
[generic]                  638    1480  43.1% -lh5- 3377 Mar  3  2004 ggtl/options/doc/html/unionopt__val-members.html
[generic]                 1055    2938  35.9% -lh5- fa9f Mar  3  2004 ggtl/options/doc/html/unionopt__val.html
[generic]                 9243   31254  29.6% -lh5- af47 Mar  3  2004 ggtl/options/Doxyfile
[generic]                 3361   10223  32.9% -lh5- f231 Mar  3  2004 ggtl/options/opt.c
[generic]                 1290    2900  44.5% -lh5- f52a Mar  3  2004 ggtl/options/opt.h
[generic]                  944    1917  49.2% -lh5- 95f7 Mar  3  2004 ggtl/options/README
[generic]                  347     548  63.3% -lh5- aba8 Mar  3  2004 ggtl/options/run-tests.sh
[generic]                 7874   14144  55.7% -lh5- 6470 May  8  2004 ggtl/options/test-opt
[generic]                  809    1849  43.8% -lh5- 9e7c Mar  3  2004 ggtl/options/test-opt.c
[generic]                  631    3795  16.6% -lh5- 9eeb Mar  3  2004 ggtl/sl/ChangeLog
[generic]                 1067    4828  22.1% -lh5- b8da Mar  3  2004 ggtl/sl/doc/html/doxygen.css
[generic]                 1576    1576 100.0% -lh0- 1b38 Mar  3  2004 ggtl/sl/doc/html/doxygen.png
[generic]                  606    1202  50.4% -lh5- 6151 Mar  3  2004 ggtl/sl/doc/html/files.html
[generic]                  719    2186  32.9% -lh5- a502 Mar  3  2004 ggtl/sl/doc/html/globals.html
[generic]                  643    2070  31.1% -lh5- eedc Mar  3  2004 ggtl/sl/doc/html/globals_func.html
[generic]                  462     791  58.4% -lh5- d280 Mar  3  2004 ggtl/sl/doc/html/index.html
[generic]                 2770   19731  14.0% -lh5- 3ba6 Mar  3  2004 ggtl/sl/doc/html/sl_8c.html
[generic]                  919    3522  26.1% -lh5- 6cd3 Mar  3  2004 ggtl/sl/doc/html/sl_8h-source.html
[generic]                 2985   20141  14.8% -lh5- 9f9c Mar  3  2004 ggtl/sl/doc/html/sl_8h.html
[generic]                12502   43678  28.6% -lh5- a5d1 Mar  3  2004 ggtl/sl/Doxyfile
[generic]                  377     585  64.4% -lh5- f7be Mar  3  2004 ggtl/sl/run-tests.sh
[generic]                 2219    6895  32.2% -lh5- 9f54 Mar  3  2004 ggtl/sl/sl.c
[generic]                  697    1473  47.3% -lh5- 8fab Mar  3  2004 ggtl/sl/sl.h
[generic]                 5773    9748  59.2% -lh5- 37e6 May  8  2004 ggtl/sl/test-free
[generic]                  603    1174  51.4% -lh5- b52e Mar  3  2004 ggtl/sl/test-free.c
[generic]                 6105   10400  58.7% -lh5- 449c May  8  2004 ggtl/sl/test-map
[generic]                  839    1896  44.3% -lh5- 16f4 Mar  3  2004 ggtl/sl/test-map.c
[generic]                 5949   10104  58.9% -lh5- 990a May  8  2004 ggtl/sl/test-mergesort
[generic]                  835    1672  49.9% -lh5- 6b83 Mar  3  2004 ggtl/sl/test-mergesort.c
[generic]                 5799    9828  59.0% -lh5- 09f7 May  8  2004 ggtl/sl/test-pushpop
[generic]                 5840    9928  58.8% -lh5- 1c39 May  8  2004 ggtl/sl/test-pushpop-end
[generic]                  669    1415  47.3% -lh5- 1d8c Mar  3  2004 ggtl/sl/test-pushpop-end.c
[generic]                  644    1274  50.5% -lh5- fe94 Mar  3  2004 ggtl/sl/test-pushpop.c
[generic]                 5814    9864  58.9% -lh5- a9f2 May  8  2004 ggtl/sl/test-reverse
[generic]                  646    1299  49.7% -lh5- 2894 Mar  3  2004 ggtl/sl/test-reverse.c
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total       112 files  287953  922721  31.2%            May  9  2004

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>