Skip to content

Developed with Java and made to interface with Xboard, the bot is capable of moving any piece on the board and tries (and sometimes even succeeds) to play a zero-sum game. It is limited in its intelligence by the negamax algorithm it's using, and hopefully will be getting some new heuristics to boost it.

Notifications You must be signed in to change notification settings

SexySparrow/Chess-Bot

Repository files navigation

Proiect PA - 2020 - Bot Sah

Scopul Proiectului este realizarea unui program capabil sa joace sah la un nivel cat mai bun.

In stadiul actual acesta stie sa foloseasca doar piesele de tip pion.

Rulare: pentru rulare se va folosi comanda: xboard -fcp "java BoardCenter" comanda se va rula din directorul /src din cadrul proiectului

Contributia membrilor:

Brabete Adrian - Miscarile pionului, alegerea piesei, New Game
              
Popescu Bogdan - Ierarhia de clase, 
Interpretarea comenzilor Xboard: White,Black,Force

Etapa II: In stadiul actual programul stie sa mute toate piesele si sa iasa din sah. Inca nu stie sa castige intentionat, dar stie sa aleaga ultima miscare dintr-o lista ce contine toate miscarile posibile, miscare ce are scorul cel mai mare. Am implementat un algoritm negamax, in care se si verifica daca botul se afla in sah. De asemenea, stie sa functioneze cu transformarea pionilor in regine. Uneori, cand botul se afla in sah (de obicei de o tura) programul nu isi da seama ca se afla in sah, si returneaza un illegal move (misca alta piesa).

Contributia membrilor:

Brabete Adrian - Mutarile tuturor pieselor, transformare in regine, schimbarea culorii botului
              
Popescu Bogdan - Algoritmul Negamax, verificare sah

About

Developed with Java and made to interface with Xboard, the bot is capable of moving any piece on the board and tries (and sometimes even succeeds) to play a zero-sum game. It is limited in its intelligence by the negamax algorithm it's using, and hopefully will be getting some new heuristics to boost it.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published