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

game/wb/Checkers-AI.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric iconother icon
No screenshot available
Short:First game to use a neural network(AI).
Author:chatgpt, co-pilot
Uploader:benedykt netc fr (Benedykt Dziuba?towski)
Type:game/wb
Version:0.98
Architecture:m68k-amigaos >= 3.x
Date:2026-02-21
Requires:intuition.library v37 i graphics.library v36
Distribution:Aminet
Download:game/wb/Checkers-AI.lha - View contents
Readme:game/wb/Checkers-AI.readme
Downloads:30

English:
Checkers (Polish: warcaby). This is the first Amiga game
that was created by AI and that itself uses AI
(a neural network) for gameplay. As you might expect, this
requires enormous computational power. On a 68060 100 MHz the 
CPU move takes about two minutes.
On a 68030 50 MHz ? over 7 minutes. Nevertheless, 
I am extremely proud of this
project and I fulfilled my dream, i.e. I ran a neural network on
an Amiga. I cannot program at all. The whole thing was prepared by
ChatGPT and Copilot. It took me almost two weeks. The project has some
flaws, which I will mention shortly, but I no longer want to continue,
fix, or improve it. I want to move on. There are two problems. 
In WinUAE screen switching
does not work ? you cannot return to the system. On a real Amiga it works.
I could not figure out why this happens. I made several attempts
to fix it using language models, but I never succeeded.
Second problem: the game does not always make moves with 
the red pieces as it should.
Sometimes a move is illegal. As above,
I could not work this out. Nevertheless, I am very satisfied
because language models are capable of creating software for the Amiga.
Day by day they get better at it.

Main features:
The game uses 8192 tokens. The plan was to use a thousand times more
tokens, which is theoretically feasible on the 68060, but it was beyond me.
Remember that this is a very small number of tokens. 
The computer opponent makes mistakes.
The purpose of this game was to check whether such an undertaking 
is feasible on the Amiga.
The game runs on both OCS and on a graphics card. I tested it on
Picasso IV (P96). I managed to run it using newmode.
I include the complete source code of the game in the archive. 
It is worth noting
that there are two versions of the game: non-AI 
for all machines and real-AI.

Neural network:

Basically it is a very simple network. It consists of only 8192 tokens,
so it is hard to expect the AI to play very well. Nevertheless, you can
sense a certain level of skill. Initially I prepared
a much larger neural network ? it contained 8,192,000 tokens.
I trained it myself on my ML350 server; it took an hour.
At first it seemed that the 68060 would handle such a network, however
reality turned out differently and I had to drastically reduce the
intelligence level of the computer.

Author:
I do not consider myself the author of this game, although 
the law of the country where I currently reside (UK)
clearly states that the author is the person who gives 
the language model the command.
The entire game and its source code are in the public domain.
You can do absolutely anything with them.

Video presenting the game:
https://youtu.be/WBSU_zctHII

If you would like to support my work on Amiga software development
you can do so here:
? BLIK: 781 518 589
?? Patronite: https://patronite.pl/benek
? Suppi: https://suppi.pl/benedykt
? Ko-fi: https://ko-fi.com/benedykt
? BuyCoffee: https://buycoffee.to/benedykt

Best regards  
Benedykt Dziuba?towski
--------------------------------------------------------


Polish:
Checkers (po polsku: warcaby). To pierwsza gra na Amig?, 
która zosta?a stworzona przez AI oraz sama wykorzytuje do rozgrywki AI
(sie? neuronow?). Jak nietrudno si? domy?li?, wymaga to olbrzymiej
mocy obliczeniowej. Na 68060 100 MHz ruch CPU trwa oko?o dwóch minut.
Na 68030 50 MHz ? ponad 7 minut. Niemniej jestem strasznie dumny z tego
projektu i spe?ni?em swoje marzenie, tj. uruchomi?em sie? neuronow? na 
Amidze. Nie umiem programowa? w ogóle. Ca?o?? zosta?a przygotowana przez 
ChatGPT oraz Copilot. Zaj??o mi to prawie dwa tygodnie. Projekt ma troch?
wad, o czym za chwil?, ale ja ju? nie chc? go kontynuowa?, poprawia? ani
ulepsza?. Chc? i?? dalej.Problemy s? dwa. W WinUAE nie dzia?a prze??czanie
ekranów ? nie da si? wróci? do systemu. Na prawdziwej Amidze to dzia?a.
Nie uda?o mi si? doj??, dlaczego tak si? dzieje. Robi?em kilka podej??,
aby za pomoc? modeli j?zykowych to naprawi?, ale nigdy mi si? to nie uda?o.
Drugi problem: gra nie zawsze wykonuje ruchy czerwonymi pionkami tak, jak
powinna. Zdarza si?, ?e ruch jest niezgodny z zasadami. Podobnie jak wy?ej,
nie uda?o mi si? tego rozpracowa?. Niemniej jestem bardzo zadowolony,
poniewa? modele j?zykowe s? w stanie tworzy? oprogramowanie na Amig?.
Z dnia na dzie? idzie im to coraz lepiej.

G?ówne cechy:
Gra wykorzystuje 8192 tokeny. W planach by?o u?ycie tysi?c razy wi?kszej 
liczby tokenów, co teoretycznie jest wykonalne na 68060, 
ale przeros?o mnie to. 
Pami?taj, ?e to bardzo ma?a liczba tokenów. 
Komputerowy przeciwnik pope?nia b??dy. 
Celem tej gry by?o sprawdzenie, czy takie przedsi?wzi?cie 
jest wykonalne na Amidze.
Gra dzia?a zarówno na OCS, jak i na karcie graficznej. Testowa?em j? na 
Picasso IV (P96). Uda?o mi si? j? uruchomi? za pomoc? newmode. 
Do archiwum do??czam kompletny kod ?ród?owy gry. Warto zaznaczy?, 
?e istniej? dwie wersje gry: non-AI dla wszystkich maszyn oraz real-AI.

Siec neuronowa:

Zasadniczo to bardzo prosta sie?. Z?o?ona jest zaledwie z 8192 tokenów, 
wi?c trudno oczekiwa?, aby AI gra?o bardzo dobrze. Niemniej jednak mo?na 
wyczu? pewien poziom umiej?tno?ci. Pierwotnie przygotowa?em 
du?o wi?ksz? sie? neuronow? ? zawiera?a 8 192 000 tokenów. 
Sam j? wytrenowa?em na moim serwerze ML350; zaj??o to godzin?. 
Na pocz?tku wydawa?o si?, ?e 68060 poradzi sobie z tak? sieci?, jednak 
rzeczywisto?? okaza?a si? inna i musia?em drastycznie zmniejszy? 
poziom inteligencji komputera.

Autor:
Nie czuj? si? autorem tej gry, cho? prawo kraju, 
w którym obecnie przebywam (UK),
mówi wyra?nie, ?e autorem jest osoba wydaj?ca modelowi 
j?zykowemu polecenie.
Ca?a gra oraz jej kod ?ród?owy znajduj? si? w domenie publicznej. 
Mo?na z nimi robi? absolutnie wszystko.


Film prezentuj?cy gr?:
https://youtu.be/WBSU_zctHII

Jesli masz ochote wesprze? moja prac? zwi?zan? 
z rozwojem oprogramwoania na Amig? 
to mo?esz to zrobi? tu:
? BLIK: 781 518 589
?? Patronite: https://patronite.pl/benek
? Suppi: https://suppi.pl/benedykt
? Ko-fi: https://ko-fi.com/benedykt
? BuyCoffee: https://buycoffee.to/benedykt


Pozdrawiam serdecznie Benedykt Dziuba?towski

---------------------------------------------------
Hungary:
Dáma (lengyelül: warcaby). Ez az els? Amiga-játék,
amelyet mesterséges intelligencia hozott létre, és amely maga 
is mesterséges intelligenciát
(egy neurális hálózatot) használ a játékmenethez. Ahogy várható, ez
óriási számítási teljesítményt igényel. Egy 68060 100 MHz-es gépen a 
CPU lépés körülbelül két percig tart.
Egy 68030 50 MHz-en ? több mint 7 perc. Ennek ellenére rendkívül 
büszke vagyok erre
a projektre, és teljesítettem az álmomat, azaz futtatni tudtam 
egy neurális hálózatot
egy Amigán. Egyáltalán nem tudok programozni. Az egészet
a ChatGPT és a Copilot készítette. Majdnem két hétig tartott.
A projektnek vannak hibái, amikr?l röviden említést teszek, 
de már nem szeretném folytatni,
javítani vagy továbbfejleszteni. Tovább akarok lépni. Két probléma van. 
A WinUAE-ban a képerny?k közötti váltás
nem m?ködik ? nem lehet visszatérni a rendszerhez. 
Egy valódi Amigán ez m?ködik.
Nem tudtam kideríteni, miért történik ez. Többször próbáltam
nyelvi modellekkel javítani, de soha nem sikerült.
A második probléma: a játék nem mindig a piros bábukkal úgy lép, 
ahogy kellene.
El?fordul, hogy a lépés illegális. Ahogy fentebb,
ezt sem sikerült megoldanom. Ennek ellenére nagyon elégedett vagyok,
mert a nyelvi modellek képesek Amiga szoftvert létrehozni.
Napról napra egyre jobbak ebben.

F? jellemz?k:
A játék 8192 tokennel dolgozik. Az volt a terv, hogy ezerszer több
tokent használjak, ami elméletileg megvalósítható lenne a 
68060-on, de meghaladta a képességeimet.
Ne feledd, ez nagyon kevés token. A számítógépes ellenfél hibázik.
A játék célja annak ellen?rzése volt, 
hogy egy ilyen vállalkozás megvalósítható-e Amigán.
A játék fut OCS-en és grafikus kártyán is. A Picasso IV-en (P96) teszteltem.
Sikerült új módban (newmode) elindítanom.
A teljes forráskódot csatolom a archívumhoz. Érdemes megjegyezni,
hogy két verzió létezik: non-AI minden géphez és real-AI.

Neurális hálózat:

Lényegében nagyon egyszer? hálózatról van szó. Mindössze 8192 tokenb?l áll,
így nehéz elvárni, hogy az AI nagyon jól játsszon. Ennek ellenére
érezhet? egy bizonyos szint? képesség. Kezdetben egy
sokkal nagyobb neurális hálózatot készítettem ? 8 192 000 tokenb?l állt.
Magam tanítottam be az ML350 szerveremen; ez egy órát vett igénybe.
Eleinte úgy t?nt, hogy a 68060 elbír egy ilyen hálózattal, azonban
a valóság másnak bizonyult, és drasztikusan csökkentenem kellett a
a számítógép intelligenciaszintjét.

Szerz?:
Nem tartom magam ennek a játéknak a szerz?jének, bár annak az országnak 
a joga, ahol jelenleg tartózkodom (Egyesült Királyság),
egyértelm?en kimondja, hogy szerz? az a személy, aki utasítást ad 
a nyelvi modellnek.
Az egész játék és a forráskódja a közszférában (public domain) található.
Velük bármit meg lehet tenni.

A játék bemutató videója:
https://youtu.be/WBSU_zctHII

Ha szeretnéd támogatni a munkámat az Amiga szoftverfejlesztés terén,
ezt megteheted itt:
? BLIK: 781 518 589
?? Patronite: https://patronite.pl/benek
? Suppi: https://suppi.pl/benedykt
? Ko-fi: https://ko-fi.com/benedykt
? BuyCoffee: https://buycoffee.to/benedykt

Üdvözlettel  
Benedykt Dziuba?towski

Original  Packed Ratio    Date     Time    Name
-------- ------- ----- --------- --------  -------------
     637     286 55.1% 19-Feb-80 15:19:16  Checkers-AI.info
   62372   28539 54.2% 18-Feb-80 22:24:32  Checkers-AI/checkers-ai
     609     505 17.0% 18-Aug-80 02:12:54  Checkers-AI/checkers-ai.info
   41884   18529 55.7% 11-Feb-80 23:43:42  Checkers-AI/checkers-no_ai
     883     736 16.6% 18-Aug-80 02:14:52  Checkers-AI/checkers-no_ai.info
   10255    4904 52.1% 20-Feb-80 20:01:44  Checkers-AI/opis.txt
     487     241 50.5% 20-Feb-80 17:31:00  Checkers-AI/readme-en.txt.info
    3153    1521 51.7% 20-Feb-80 22:29:02  Checkers-AI/readme-eng.txt
     487     241 50.5% 20-Feb-80 17:30:50  Checkers-AI/readme-hu.txt.info
    3150    1670 46.9% 20-Feb-80 17:27:58  Checkers-AI/readme-pl.txt
     487     241 50.5% 20-Feb-80 17:26:00  Checkers-AI/readme-pl.txt.info
    3234    1721 46.7% 20-Feb-80 22:29:54  Checkers-AI/redme-hu.txt
   19452    5261 72.9% 18-Feb-80 09:25:54  Checkers-AI/sourcecode-ai/ai.c
     230     158 31.3% 11-Feb-80 23:55:32  Checkers-AI/sourcecode-ai/ai.h
    1791     719 59.8% 18-Feb-80 08:02:50  Checkers-AI/sourcecode-ai/game.h
     437     167 61.7% 19-Feb-80 08:31:02  Checkers-AI/sourcecode-ai/kompilacja.txt
   19505    3903 79.9% 18-Feb-80 07:58:24  Checkers-AI/sourcecode-ai/logic.c
   11502    2604 77.3% 18-Feb-80 22:24:20  Checkers-AI/sourcecode-ai/main.c
     467     307 34.2% 18-Feb-80 04:48:34  Checkers-AI/sourcecode-ai/makefile
     615     275 55.2% 11-Feb-80 20:39:02  Checkers-AI/sourcecode-ai/polacz.bat
   14363    4128 71.2% 18-Feb-80 22:03:30  Checkers-AI/sourcecode-ai/render.c
     485     235 51.5% 18-Feb-80 22:03:38  Checkers-AI/sourcecode-ai/render.h
    1897     761 59.8% 18-Feb-80 05:16:58  Checkers-AI/sourcecode-ai/safe_log.c
     443     217 51.0% 11-Feb-80 22:49:56  Checkers-AI/sourcecode-ai/safe_log.h
    1751     714 59.2% 02-Feb-80 09:41:20  Checkers-AI/sourcecode-ai/system.c
     295     195 33.8% 11-Feb-80 20:02:26  Checkers-AI/sourcecode-ai/system.h
    4932    1322 73.1% 17-Feb-80 23:02:08  Checkers-AI/sourcecode-ai/test_weights.c-dziala
    5121    1449 71.7% 18-Feb-80 05:12:06  Checkers-AI/sourcecode-ai/wagi.c
    2701     883 67.3% 11-Feb-80 22:43:54  Checkers-AI/sourcecode-no_ai/ai.c
     241     162 32.7% 11-Feb-80 11:03:30  Checkers-AI/sourcecode-no_ai/ai.h
   29711    6647 77.6% 11-Feb-80 19:59:02  Checkers-AI/sourcecode-no_ai/calosc.txt
      99      87 12.1% 11-Feb-80 21:53:54  Checkers-AI/sourcecode-no_ai/debug_h.txt
    1082     416 61.5% 11-Feb-80 22:25:44  Checkers-AI/sourcecode-no_ai/game.h
     437     167 61.7% 19-Feb-80 08:30:08  Checkers-AI/sourcecode-no_ai/kompilacja.txt
   12968    2602 79.9% 11-Feb-80 20:43:04  Checkers-AI/sourcecode-no_ai/logic.c
    7749    1738 77.5% 11-Feb-80 22:06:36  Checkers-AI/sourcecode-no_ai/main.c
     460     302 34.3% 11-Feb-80 06:29:44  Checkers-AI/sourcecode-no_ai/makefile
     615     275 55.2% 11-Feb-80 20:39:02  Checkers-AI/sourcecode-no_ai/polacz.bat
   11767    3214 72.6% 10-Feb-80 08:21:14  Checkers-AI/sourcecode-no_ai/render.c
     453     224 50.5% 10-Feb-80 08:12:20  Checkers-AI/sourcecode-no_ai/render.h
    1858     748 59.7% 11-Feb-80 23:43:36  Checkers-AI/sourcecode-no_ai/safe_log.c
     443     217 51.0% 11-Feb-80 22:49:56  Checkers-AI/sourcecode-no_ai/safe_log.h
    1751     714 59.2% 02-Feb-80 09:41:20  Checkers-AI/sourcecode-no_ai/system.c
     295     195 33.8% 11-Feb-80 20:02:26  Checkers-AI/sourcecode-no_ai/system.h
      60      60  0.0% 19-Feb-80 15:37:00  Checkers-AI/Warcaby_debug.log
  262126   85757 67.2% 11-Feb-80 08:58:10  Checkers-AI/weights_c/weights_game_1.c
   37448   15879 57.5% 17-Feb-80 23:02:16  Checkers-AI/weights_test
-------- ------- ----- --------- --------
  583188  201836 65.3% 20-Feb-80 17:32:24   47 files


Contents of game/wb/Checkers-AI.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  286     637  44.9% -lh5- c3de Feb 19  1980 Checkers-AI.info
[generic]                28539   62372  45.8% -lh5- 9cae Feb 18  1980 Checkers-AI/checkers-ai
[generic]                  505     609  82.9% -lh5- 148f Aug 18  1980 Checkers-AI/checkers-ai.info
[generic]                18529   41884  44.2% -lh5- 1364 Feb 11  1980 Checkers-AI/checkers-no_ai
[generic]                  736     883  83.4% -lh5- 5bf6 Aug 18  1980 Checkers-AI/checkers-no_ai.info
[generic]                 4904   10255  47.8% -lh5- 0888 Feb 20  1980 Checkers-AI/opis.txt
[generic]                  241     487  49.5% -lh5- caf6 Feb 20  1980 Checkers-AI/readme-en.txt.info
[generic]                 1521    3153  48.2% -lh5- 04d0 Feb 20  1980 Checkers-AI/readme-eng.txt
[generic]                  241     487  49.5% -lh5- caf6 Feb 20  1980 Checkers-AI/readme-hu.txt.info
[generic]                 1670    3150  53.0% -lh5- 45c5 Feb 20  1980 Checkers-AI/readme-pl.txt
[generic]                  241     487  49.5% -lh5- caf6 Feb 20  1980 Checkers-AI/readme-pl.txt.info
[generic]                 1721    3234  53.2% -lh5- 51eb Feb 20  1980 Checkers-AI/redme-hu.txt
[generic]                 5261   19452  27.0% -lh5- 18a0 Feb 18  1980 Checkers-AI/sourcecode-ai/ai.c
[generic]                  158     230  68.7% -lh5- 1ff1 Feb 11  1980 Checkers-AI/sourcecode-ai/ai.h
[generic]                  719    1791  40.1% -lh5- 5111 Feb 18  1980 Checkers-AI/sourcecode-ai/game.h
[generic]                  167     437  38.2% -lh5- 6c53 Feb 19  1980 Checkers-AI/sourcecode-ai/kompilacja.txt
[generic]                 3903   19505  20.0% -lh5- 1b9e Feb 18  1980 Checkers-AI/sourcecode-ai/logic.c
[generic]                 2604   11502  22.6% -lh5- 50ab Feb 18  1980 Checkers-AI/sourcecode-ai/main.c
[generic]                  307     467  65.7% -lh5- f4f9 Feb 18  1980 Checkers-AI/sourcecode-ai/makefile
[generic]                  275     615  44.7% -lh5- 1e37 Feb 11  1980 Checkers-AI/sourcecode-ai/polacz.bat
[generic]                 4128   14363  28.7% -lh5- f74f Feb 18  1980 Checkers-AI/sourcecode-ai/render.c
[generic]                  235     485  48.5% -lh5- be27 Feb 18  1980 Checkers-AI/sourcecode-ai/render.h
[generic]                  761    1897  40.1% -lh5- 60eb Feb 18  1980 Checkers-AI/sourcecode-ai/safe_log.c
[generic]                  217     443  49.0% -lh5- ef8f Feb 11  1980 Checkers-AI/sourcecode-ai/safe_log.h
[generic]                  714    1751  40.8% -lh5- b7a7 Feb  2  1980 Checkers-AI/sourcecode-ai/system.c
[generic]                  195     295  66.1% -lh5- 60c6 Feb 11  1980 Checkers-AI/sourcecode-ai/system.h
[generic]                 1322    4932  26.8% -lh5- 780a Feb 17  1980 Checkers-AI/sourcecode-ai/test_weights.c-dziala
[generic]                 1449    5121  28.3% -lh5- 7092 Feb 18  1980 Checkers-AI/sourcecode-ai/wagi.c
[generic]                  883    2701  32.7% -lh5- 4938 Feb 11  1980 Checkers-AI/sourcecode-no_ai/ai.c
[generic]                  162     241  67.2% -lh5- 0f14 Feb 11  1980 Checkers-AI/sourcecode-no_ai/ai.h
[generic]                 6647   29711  22.4% -lh5- 22a0 Feb 11  1980 Checkers-AI/sourcecode-no_ai/calosc.txt
[generic]                   87      99  87.9% -lh5- d43c Feb 11  1980 Checkers-AI/sourcecode-no_ai/debug_h.txt
[generic]                  416    1082  38.4% -lh5- cf66 Feb 11  1980 Checkers-AI/sourcecode-no_ai/game.h
[generic]                  167     437  38.2% -lh5- 6c53 Feb 19  1980 Checkers-AI/sourcecode-no_ai/kompilacja.txt
[generic]                 2602   12968  20.1% -lh5- 79cb Feb 11  1980 Checkers-AI/sourcecode-no_ai/logic.c
[generic]                 1738    7749  22.4% -lh5- 0654 Feb 11  1980 Checkers-AI/sourcecode-no_ai/main.c
[generic]                  302     460  65.7% -lh5- 35a9 Feb 11  1980 Checkers-AI/sourcecode-no_ai/makefile
[generic]                  275     615  44.7% -lh5- 1e37 Feb 11  1980 Checkers-AI/sourcecode-no_ai/polacz.bat
[generic]                 3214   11767  27.3% -lh5- 4e29 Feb 10  1980 Checkers-AI/sourcecode-no_ai/render.c
[generic]                  224     453  49.4% -lh5- dae8 Feb 10  1980 Checkers-AI/sourcecode-no_ai/render.h
[generic]                  748    1858  40.3% -lh5- 882b Feb 11  1980 Checkers-AI/sourcecode-no_ai/safe_log.c
[generic]                  217     443  49.0% -lh5- ef8f Feb 11  1980 Checkers-AI/sourcecode-no_ai/safe_log.h
[generic]                  714    1751  40.8% -lh5- b7a7 Feb  2  1980 Checkers-AI/sourcecode-no_ai/system.c
[generic]                  195     295  66.1% -lh5- 60c6 Feb 11  1980 Checkers-AI/sourcecode-no_ai/system.h
[generic]                   60      60 100.0% -lh0- 2708 Feb 19  1980 Checkers-AI/Warcaby_debug.log
[generic]                85757  262126  32.7% -lh5- 8c28 Feb 11  1980 Checkers-AI/weights_c/weights_game_1.c
[generic]                15879   37448  42.4% -lh5- 44a7 Feb 17  1980 Checkers-AI/weights_test
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        47 files  201836  583188  34.6%            Feb 21 00:58
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>