Short: Chess game, 68040/68060, OCS/ECS/AGA Author: Benedykt Dziubaltowski with Claude AI Uploader: benedykt netc fr (Benedykt Dziubaltowski) Type: game/think Version: 1.04 Requires: OS 2.0+, 1MB Chip RAM, 68040 or 68060, OCS/ECS/AGA Architecture: m68k-amigaos >= 2.0.0 History: 1.04 - 4 piece sets, opening book 14 variants, full SEE, level 7, hint key (H), PGN date+result, critical move_pool bugfix (May 2026) 1.03 - Improved evaluation, check extension, adaptive null-move, extended futility pruning depth 3, aggressive LMR (May 2026) 1.02 - First 68040/68060 binary. Single binary auto-detects CPU. Level 6 Master added (May 2026) --- ENGLISH ------------------------------------------------------- Chess game optimised specifically for Amiga with 68040 or 68060 processor. One binary - automatically detects CPU at startup via SysBase->AttnFlags and adjusts engine behaviour accordingly. Supports OCS, ECS and AGA. Requires Kickstart 2.0 or higher. Requires at least 1 MB Chip RAM. Does NOT work with Slow RAM only. For 68000-based Amigas (A500, A600) see Chess_AI_000.lha. For 68020/030-based Amigas see Chess_AI_020.lha. Tested on Amiga 4000 Desktop BFG9060 (68060 100 MHz). This project is proof that Claude AI (Anthropic) handles Amiga C programming surprisingly well. Using AI prompts, it is possible to create fully featured Amiga games from scratch - complete with a chess engine, GadTools menus, PGN support and procedural graphics. The Amiga community finally has a new chess game in 2026! Features: - Negamax alpha-beta engine with iterative deepening - Quiescence search (depth 2), aspiration windows - Full SEE (Static Exchange Evaluation) for accurate capture ordering - Improved evaluation: passed pawns, doubled pawns, bishop pair, rooks on open files, connected rooks, king pawn shield - Null-move pruning with adaptive R (R=2 depth<5, R=3 depth>=5) - Check extensions (deeper search when in check) - Aggressive Late Move Reductions: reduction 2 for move 6+ at depth 4+ - Extended Futility Pruning: depth 1=330cp, depth 2=500cp, depth 3=900cp - Razoring at depth 1 - Transposition table (Zobrist hashing, dynamic size, optional) - Move ordering: PV, SEE, killer moves (2 slots), history heuristic - Piece-square tables (middlegame + endgame) - Opening book: 14 openings with weighted random selection (default ON) Italian Game, Ruy Lopez, Sicilian, French, Caro-Kann, Queen's Gambit, King's Indian, Nimzo-Indian, English, London, Scotch, Pirc, King's Gambit, Reti - 7 difficulty levels: 1-Beginner, 2-Easy, 3-Medium, 4-Hard, 5-Expert, 6-Master, 7-Very Slow Default: level 5 on 68060, level 4 on 68040 - Time limits per move: none / 30s / 60s / 90s - Player vs AI / Player vs Player / AI vs AI modes - 4 piece sets: Classic (3D shaded), Staunton (flat), Minimal (geometric), Gothic (medieval pointed style) - switchable from Pieces menu - Hint key (H) - AI suggests a move highlighted on the board - PGN save/load with real date (from Amiga clock) and result (1-0/0-1/draw) - Move history, Undo/Redo - Game timer with pause (P key) - Force move: N key or Skip button - Dynamic stack: 128 KB (auto-managed) - Settings saved to PROGDIR:chess.prefs (including piece set) - GadTools menus, English interface Estimated strength: - Level 3, TT off: ~1200 ELO - Level 5, TT on: ~1700-1800 ELO - Level 6, TT on: ~1850-1950 ELO (68060 recommended) - Level 7, TT on: ~1950-2050 ELO (68060, several min/move) Installation: Copy Chess_AI_040060 to any directory and run. Chip RAM: At least 1 MB required. Slow RAM is not supported. Stack: Managed automatically by the program (128 KB). Video presentation of the game: https://youtu.be/aCz8vMFuaag Created with Claude AI (Anthropic) by Benedykt Dziubaltowski. Public Domain. --- POLSKI -------------------------------------------------------- Gra szachowa zoptymalizowana specjalnie dla Amigi z procesorem 68040 lub 68060. Jedna binarka automatycznie wykrywa procesor przy starcie przez SysBase->AttnFlags i dostosowuje zachowanie silnika. Obsluguje OCS, ECS i AGA. Wymaga Kickstart 2.0 lub nowszego. Wymaga minimum 1 MB Chip RAM. NIE dziala tylko na Slow RAM. Dla Amig z procesorem 68000 (A500, A600) patrz Chess_AI_000.lha. Dla Amig z procesorem 68020/030 patrz Chess_AI_020.lha. Testowane na Amiga 4000 Desktop BFG9060 (68060 100 MHz). Funkcje: - Silnik negamax alpha-beta z iteracyjnym poglebianiem - Quiescence search (glebia 2), okna aspiracyjne - Pelny SEE (Static Exchange Evaluation) dla oceny bic - Lepsza ewaluacja: wolne piony, podwojone piony, para goncow, wiezy na otwartych liniach, polaczone wiezy, tarcza pionkowa krola - Null-move pruning z adaptacyjnym R (R=2 dla depth<5, R=3 dla depth>=5) - Rozszerzenia szachowe (glebsze przeszukiwanie przy szachu) - Agresywny LMR: redukcja 2 dla ruchu 6+ przy depth 4+ - Rozszerzony Futility Pruning: depth 1=330cp, depth 2=500cp, depth 3=900cp - Razoring na glebokosci 1 - Tablica transpozycji (Zobrist hashing, dynamiczny rozmiar, opcjonalna) - Sortowanie ruchow: PV, SEE, killer moves (2 sloty), history heuristic - Tablice pozycyjne (srodkowa gra + koncowka) - Ksiazka debiutowa: 14 wariantow, wazony losowy wybor (domyslnie WL) Partia Wloska, Ruy Lopez, Sycylijska, Francuska, Caro-Kann, Gambit Hetmanski, Indyjska Krola, Nimzo-Indyjska, Angielskie, Londynski, Szkocka, Pirc, Gambit Krolewski, Reti - 7 poziomow trudnosci: 1-Beginner, 2-Easy, 3-Medium, 4-Hard, 5-Expert, 6-Master, 7-Very Slow Domyslny: poziom 5 na 68060, poziom 4 na 68040 - Limity czasu na ruch: brak / 30s / 60s / 90s - Tryby: Gracz vs AI / Gracz vs Gracz / AI vs AI - 4 zestawy pionkow: Classic (3D), Staunton (ploski), Minimal (geometryczny), Gothic (gotycki) - przelaczane z menu Pieces - Klawisz podpowiedzi (H) - AI sugeruje ruch podswietlony na planszy - Zapis/odczyt PGN z prawdziwa data (z zegara Amigi) i wynikiem (1-0/0-1/remis) - Historia ruchow, Cofanie/Ponowienie - Timer partii z pausa (klawisz P) - Wymuszanie ruchu: klawisz N lub przycisk Skip - Dynamiczny stos: 128 KB (zarzadzany automatycznie) - Ustawienia zapisywane do PROGDIR:chess.prefs (w tym zestaw pionkow) - Menu GadTools, interfejs angielski Szacowana sila: - Poziom 3, TT wyl.: ~1200 ELO - Poziom 5, TT wl.: ~1700-1800 ELO - Poziom 6, TT wl.: ~1850-1950 ELO (zalecany 68060) - Poziom 7, TT wl.: ~1950-2050 ELO (68060, kilka minut na ruch) Instalacja: Skopiuj Chess_AI_040060 do dowolnego katalogu i uruchom. Chip RAM: Wymagane minimum 1 MB. Slow RAM nie jest obslugiwany. Stos: Zarzadzany automatycznie przez program (128 KB). Film o grze dostepny tutaj: https://youtu.be/aCz8vMFuaag Stworzone z pomoca Claude AI (Anthropic) przez Benedykta Dziubaltowskiego. Public Domain. --- MAGYAR -------------------------------------------------------- Sakk jatek kifejezetten 68040-es vagy 68060-as processzoru Amigara optimalizalva. Egyetlen binarisfajl - inditaskor automatikusan felismeri a processzort az SysBase->AttnFlags alapjan. Tamogatja az OCS, ECS es AGA rendszereket. Kickstart 2.0+ szukseges. Legalabb 1 MB Chip RAM szukseges. Slow RAM-mal NEM mukodik. 68000-es Amigakhoz (A500, A600) lasd: Chess_AI_000.lha. 68020/030-as Amigakhoz lasd: Chess_AI_020.lha. Tesztelve: Amiga 4000 Desktop BFG9060 (68060 100 MHz). Funkciok: - Negamax alfa-beta motor iterativ melyitessel - Quiescence kereses (2 melyseg), aspiracis ablakok - Teljes SEE (Static Exchange Evaluation) az utesek pontos ertekelesere - Jobb kiertekeles: szabad gyalogok, kettozott gyalogok, futapar, bastya nyitott vonalakon, kapcsolt bastya, kiraly gyalog-pajzs - Null-move pruning adaptiv R-rel (R=2 depth<5-nel, R=3 depth>=5-nel) - Sakk-kiterjesztesek (melyebb kereses sakkban allaskor) - Agressziv LMR: 2-es redukcio a 6+. lepesnel depth 4+-nel - Kiterjesztett Futility Pruning: depth 1=330cp, depth 2=500cp, depth 3=900cp - Razoring 1-es melysegnel - Transzpozicis tabla (Zobrist hashing, dinamikus meret, opcionalis) - Lepes-rendezes: PV, SEE, killer moves (2 hely), history heuristic - Pozicis tablak (kozejatek + vegjatel) - Megnyitokoenyv: 14 valtozat, sulyozott veletlen valasztas (alapert. BE) Olasz megnyito, Ruy Lopez, Sziciliai, Francia, Caro-Kann, Vezer-gambitt, Kiraly-indiai, Nimzo-indiai, Angol, London, Skot, Pirc, Kiraly-gambitt, Reti - 7 nehezsegi szint: 1-Beginner, 2-Easy, 3-Medium, 4-Hard, 5-Expert, 6-Master, 7-Very Slow Alapert.: 5. szint 68060-on, 4. szint 68040-en - Idokorlat lepesenkent: nincs / 30s / 60s / 90s - Modok: Jatekos vs AI / Jatekos vs Jatekos / AI vs AI - 4 babukeszlet: Classic (3D arnyekolt), Staunton (lapos), Minimal (geometrikus), Gothic (gotikus kozepkori) - valaszthato a Pieces menubol - Tipp billentyu (H) - az AI lepest javasol kiemelve a tablaron - PGN mentes/betoltes valodi datummal (Amiga orajabol) es eredmennyel - Lepestortenet, Visszavonas/Ujravegrehajtás - Parti idomero szunettel (P billentyu) - Lepes kikenyszeritese: N billentyu vagy Skip gomb - Dinamikus verem: 128 KB (automatikusan kezelve) - Beallitasok: PROGDIR:chess.prefs (babukeszlettel egyutt) - GadTools menu, angol felhasznaloi feluelet Becsult ero: - 3. szint, TT ki: ~1200 ELO - 5. szint, TT be: ~1700-1800 ELO - 6. szint, TT be: ~1850-1950 ELO (68060 ajanlett) - 7. szint, TT be: ~1950-2050 ELO (68060, tobb perc/lepes) Telepites: Masold a Chess_AI_040060 fajlt barmely konyvtarba es inditsd el. Chip RAM: Legalabb 1 MB szukseges. Slow RAM nem tamogatott. Verem: A program automatikusan kezeli (128 KB). A jatekrol szolo video itt elerheto: https://youtu.be/aCz8vMFuaag Keszult Claude AI (Anthropic) kozremukoedesevel, Dziubaltowski Benedek altal. Public Domain.