AminetAminet
Search:
85764 packages online
• About
• Recent
• Browse
• Search
• Upload
• Setup
• Services

game/wb/Checkers_AI.lha

Mirror:Random
Showing: m68k-amigaos icongeneric icon
No screenshot available
Short:Polish checkers 8x8 with a strong AI
Author:Claude (Anthropic), Benedykt Dziubaltowski
Uploader:benedykt netc fr (Benedykt Dziubaltowski)
Type:game/wb
Version:1.5
Architecture:m68k-amigaos >= 2.0.4
Date:2026-11-02
Requires:Kickstart 2.04+, any 68000+ CPU, about 1 MB free RAM
Replaces:game/wb/Checkers-AI.lha; game/think/Checkers-AI
Distribution:Aminet
Download:game/wb/Checkers_AI.lha - View contents
Readme:game/wb/Checkers_AI.readme
Downloads:6

=============================================================================
 ENGLISH
=============================================================================

Checkers AI is checkers (Polish: warcaby) on an 8x8 board for the classic
Amiga. You play white against the computer, which plays red.

WHAT IS NEW IN 1.5

Version 0.98 was created with ChatGPT and Copilot. It had many bugs and
its "neural network" turned out to play almost blindly - the computer
sometimes even made illegal moves. Version 1.5 was rebuilt practically
from scratch together with Claude (Anthropic):

  - a brand new AI engine: alpha-beta search with iterative deepening,
    transposition table and capture extensions - the same family of
    methods that chess programs have used for decades. No neural network
    in this version - but the AI really thinks several moves ahead.
  - integer-only arithmetic - fast even on a 68020 without an FPU.
    The CPU now moves in a few seconds instead of minutes.
  - the AI adapts itself to the machine: a faster CPU searches deeper,
    the memory used is sized to the free RAM
  - correct Polish draughts rules: mandatory and maximum capture, flying
    kings, multiple captures made jump by jump, draw rule
  - illegal computer moves fixed, many other 0.98 bugs fixed
  - animated moves, the AI's last move is marked, pieces that must
    capture are highlighted, no board flicker
  - RAM:checker.txt records your games and the AI statistics
  - one program for all Amigas (no separate AI / non-AI versions)

HOW STRONG IS IT

Very strong tactically: it will not miss a short combination and gladly
sacrifices a man to capture two or three afterwards. Weaker strategically
and in king endgames. It beats its own author.

Measured on real hardware (6 seconds per move):

  Amiga CD32, 68020/14 MHz  - ca. 650 positions/s,    5-6 moves ahead
  Amiga 1200, 68060         - ca. 12-16k positions/s, 7-11 moves ahead

Too hard? Start it from the Shell with a shorter time per move:

  Checkers_AI 1      (1 second per move - easier)
  Checkers_AI 10     (10 seconds per move - harder)

BUILT ON A REAL AMIGA

The source code is plain C89 and was compiled on a real Amiga CD32 with
an SX1 and 8 MB Fast RAM, using ADE with gcc 2.95.3 (about 10 minutes for
the whole game). Tested on a CD32 (68020) and an A1200 (68060).

The complete source code is included. The game and its source code are
public domain - you can do absolutely anything with them.

Full documentation: Checkers_AI_en.txt (also _pl and _hu).

=============================================================================
 POLSKI
=============================================================================

Checkers AI to warcaby na planszy 8x8 dla klasycznej Amigi. Grasz bialymi
przeciwko komputerowi, ktory gra czerwonymi.

CO NOWEGO W 1.5

Wersja 0.98 powstala z pomoca ChatGPT i Copilot. Miala sporo bledow, a jej
"siec neuronowa" w praktyce grala prawie na slepo - komputer zdarzalo sie
nawet wykonac ruch niezgodny z zasadami. Wersja 1.5 zostala przebudowana
praktycznie od zera razem z Claude (Anthropic):

  - zupelnie nowy silnik AI: przeszukiwanie alpha-beta z iteracyjnym
    poglebianiem, tablica transpozycji i przedluzaniem przy biciach - ta
    sama rodzina metod, ktorej od dziesiecioleci uzywaja programy
    szachowe. W tej wersji nie ma sieci neuronowej - ale AI naprawde
    mysli kilka ruchow do przodu.
  - obliczenia wylacznie na liczbach calkowitych - szybko nawet na 68020
    bez FPU. Ruch komputera trwa teraz kilka sekund zamiast minut.
  - AI sama dopasowuje sie do sprzetu: szybszy procesor liczy glebiej,
    uzywana pamiec dobierana jest do wolnego RAM-u
  - poprawne zasady warcabow polskich: bicie obowiazkowe i maksymalne,
    latajace damki, bicie wielokrotne skok po skoku, zasada remisu
  - naprawione nielegalne ruchy komputera i wiele innych bledow 0.98
  - animacja ruchow, oznaczenie ostatniego ruchu AI, podswietlenie
    pionkow, ktore musza bic, plansza bez mrugania
  - plik RAM:checker.txt z zapisem partii i statystykami AI
  - jeden program dla wszystkich Amig (bez osobnych wersji AI / non-AI)

JAK SILNE JEST AI

Bardzo silne taktycznie: nie przepusci krotkiej kombinacji i chetnie
oddaje pionka, zeby potem zbic dwa albo trzy. Slabsze strategicznie i w
koncowkach z damkami. Ogrywa swojego autora.

Pomiary na prawdziwym sprzecie (6 sekund na ruch):

  Amiga CD32, 68020/14 MHz  - ok. 650 pozycji/s,      5-6 ruchow do przodu
  Amiga 1200, 68060         - ok. 12-16 tys. poz./s,  7-11 ruchow do przodu

Za trudno? Uruchom z Shella z krotszym czasem na ruch:

  Checkers_AI 1      (1 sekunda na ruch - latwiej)
  Checkers_AI 10     (10 sekund na ruch - trudniej)

ZBUDOWANE NA PRAWDZIWEJ AMIDZE

Kod zrodlowy to czyste C89, skompilowane na prawdziwej Amidze CD32 z SX1
i 8 MB Fast, pakietem ADE z gcc 2.95.3 (okolo 10 minut cala gra).
Testowane na CD32 (68020) i A1200 (68060).

Kompletny kod zrodlowy jest dolaczony. Gra i jej kod zrodlowy znajduja
sie w domenie publicznej - mozna z nimi robic absolutnie wszystko.

Pelna dokumentacja: Checkers_AI_pl.txt (rowniez _en i _hu).

=============================================================================
 MAGYAR
=============================================================================

A Checkers AI egy 8x8-as tablan jatszott damajatek (lengyelul: warcaby)
a klasszikus Amigara. Te a feher korongokkal jatszol a szamitogep ellen,
amely a pirosakkal jatszik.

AZ 1.5 UJDONSAGAI

A 0.98-as verzio a ChatGPT es a Copilot segitsegevel keszult. Sok hibaja
volt, es a "neuralis halozata" a gyakorlatban szinte vakon jatszott -
a szamitogep neha meg szabalytalanul is lepett. Az 1.5-os verziot
gyakorlatilag a nullarol epitettuk ujra a Claude-dal (Anthropic):

  - teljesen uj AI motor: alfa-beta kereses iterativ melyitessel,
    transzpozicios tablaval es utesi hosszabbitassal - ugyanaz a
    modszercsalad, amelyet a sakkprogramok evtizedek ota hasznalnak.
    Ebben a verzioban nincs neuralis halozat - de az AI valoban tobb
    lepessel elore gondolkodik.
  - csak egesz szamos szamitasok - gyors meg FPU nelkuli 68020-on is.
    A szamitogep lepese most nehany masodperc percek helyett.
  - az AI alkalmazkodik a gephez: gyorsabb processzoron melyebben
    szamol, a hasznalt memoria a szabad RAM-hoz igazodik
  - helyes lengyel damajatek szabalyok: kotelezo es maximalis utes,
    repulo damak, ugrasrol ugrasra vegrehajtott tobbszoros utes,
    dontetlen szabaly
  - a szamitogep szabalytalan lepesei es a 0.98 sok mas hibaja javitva
  - animalt lepesek, az AI utolso lepesenek jelolese, az utesre
    kotelezett korongok kiemelese, villogasmentes tabla
  - a RAM:checker.txt rogziti a jatszmakat es az AI statisztikait
  - egy program minden Amigara (nincs kulon AI / non-AI verzio)

MILYEN EROS AZ AI

Taktikailag nagyon eros: nem hagy ki egy rovid kombinaciot, es szivesen
felaldoz egy korongot, hogy utana kettot vagy harmat usson. Strategiailag
es a damas vegjatekokban gyengebb. A sajat szerzojet is legyozi.

Meresek valodi hardveren (6 masodperc/lepes):

  Amiga CD32, 68020/14 MHz  - kb. 650 allas/mp,         5-6 lepes elore
  Amiga 1200, 68060         - kb. 12-16 ezer allas/mp,  7-11 lepes elore

Tul nehez? Inditsd Shell-bol rovidebb lepesidovel:

  Checkers_AI 1      (1 masodperc/lepes - konnyebb)
  Checkers_AI 10     (10 masodperc/lepes - nehezebb)

VALODI AMIGAN KESZULT

A forraskod tiszta C89, valodi Amiga CD32-n forditva (SX1, 8 MB Fast),
az ADE csomaggal es gcc 2.95.3-mal (a teljes jatek kb. 10 perc alatt).
Tesztelve CD32-n (68020) es A1200-on (68060).

A teljes forraskod mellekelve. A jatek es a forraskodja public domain -
barmit szabad veluk csinalni.

Teljes dokumentacio: Checkers_AI_hu.txt (valamint _pl es _en).

=============================================================================
 SUPPORT / WSPARCIE / TAMOGATAS
=============================================================================

If you would like to support my Amiga software development:
Jesli chcesz wesprzec moja prace nad oprogramowaniem na Amige:
Ha szeretned tamogatni az Amiga szoftverfejlesztesemet:

  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

YouTube: Amigowiec z serca i pasji
https://www.youtube.com/@BenedyktDziuba%C5%82towski/videos

Best regards / Pozdrawiam serdecznie / Udvozlettel
Benedykt Dziubaltowski


Contents of game/wb/Checkers_AI.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  311     820  37.9% -lh5- 214c Nov  1  1980 Checkers_AI.info
[generic]                  549    1541  35.6% -lh5- e7dd Oct 31  1980 Checkers_AI/checker.txt
[generic]                28821   59616  48.3% -lh5- 37b3 Nov  1  1980 Checkers_AI/Checkers_AI
[generic]                  427    1006  42.4% -lh5- 372c Nov  1  1980 Checkers_AI/Checkers_AI.info
[generic]                 4595   12335  37.3% -lh5- 9590 Nov  1  1980 Checkers_AI/Checkers_AI_en.txt
[generic]                  301     850  35.4% -lh5- 31ec Nov  1  1980 Checkers_AI/Checkers_AI_en.txt.info
[generic]                 4768   12406  38.4% -lh5- 26da Nov  1  1980 Checkers_AI/Checkers_AI_hu.txt
[generic]                  302     850  35.5% -lh5- 7519 Nov  1  1980 Checkers_AI/Checkers_AI_hu.txt.info
[generic]                 4676   12013  38.9% -lh5- bd0d Nov  1  1980 Checkers_AI/Checkers_AI_pl.txt
[generic]                  300     850  35.3% -lh5- 97d8 Nov  1  1980 Checkers_AI/Checkers_AI_pl.txt.info
[generic]                  472     803  58.8% -lh5- 8377 Jun 15  1980 Checkers_AI/donate.txt
[generic]                  713    1096  65.1% -lh5- 24ed Nov  1  1980 Checkers_AI/donate.txt.info
[generic]                   74      80  92.5% -lh5- fa72 Nov  1  1980 Checkers_AI/eval.txt
[generic]                   80      88  90.9% -lh5- 3e68 Nov  1  1980 Checkers_AI/eval_example.txt
[generic]                  257     516  49.8% -lh5- 95ad Nov  1  1980 Checkers_AI/source.info
[generic]                 8826   28395  31.1% -lh5- 2a0e Nov  1  1980 Checkers_AI/source/ai.c
[generic]                  788    1508  52.3% -lh5- d395 Nov  1  1980 Checkers_AI/source/ai.h
[generic]                 1079    2190  49.3% -lh5- 2032 Nov  1  1980 Checkers_AI/source/game.h
[generic]                 3696   10650  34.7% -lh5- a651 Nov  1  1980 Checkers_AI/source/log.c
[generic]                  395     669  59.0% -lh5- fc28 Nov  1  1980 Checkers_AI/source/log.h
[generic]                 2624    8958  29.3% -lh5- 6009 Nov  1  1980 Checkers_AI/source/logic.c
[generic]                 3696   10650  34.7% -lh5- a651 Nov  1  1980 Checkers_AI/source/log_1.c
[generic]                 3239    8958  36.2% -lh5- b24e Nov  1  1980 Checkers_AI/source/main.c
[generic]                  441     783  56.3% -lh5- 9ec1 Nov  1  1980 Checkers_AI/source/makefile
[generic]                 4084   12926  31.6% -lh5- 3cdc Nov  1  1980 Checkers_AI/source/render.c
[generic]                  471     974  48.4% -lh5- 50aa Nov  1  1980 Checkers_AI/source/render.h
[generic]                  906    2242  40.4% -lh5- 6cf8 Nov  1  1980 Checkers_AI/source/system.c
[generic]                  195     295  66.1% -lh5- 60c6 Nov  1  1980 Checkers_AI/source/system.h
[generic]                  297     549  54.1% -lh5- c4e3 Nov  1  1980 Checkers_AI/source/version.h
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        29 files   77383  194617  39.8%            Nov  2 01:04
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>