Giter Club home page Giter Club logo

andoma's Introduction

andoma's People

Contributors

chitty avatar healeycodes avatar jparramore avatar thearst3rd avatar varsius avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

andoma's Issues

Using it with lichess-bot

When i try and do this it returns the error
[03/26/23 08:24:36] INFO Backing off play_game(...) for 106.1s (chess.engine.EngineTerminatedError: engine process died unexpectedly (exit code: 255))

Cute chess

Whenever I try to add it to cute chess it says cannot run engine and doesn't add it why does this error comes .. I use python main.py in the command dialogue box and the directory of bot files in working directory dialogue box.. if anyone can help me fix this ASAP it would be really helpful

Piece-Square Tables evaluation

When you take a new board and for example just play the move "e2e4" and afterwards call evaluate_board, it returns a value of -25, which means black is slightly favoured. That would not make sense, because white just moved a pawn to a better square and nothing else happend.

Code used:

from evaluate import evaluate_board
board = chess.Board()
board.push(chess.Move.from_uci("e2e4"))
evaluate_board(board)
# output: -25

After a bit of digging I noticed that the for-loop in evaluate_board
for square in chess.SQUARES is equivalent to for square in range(64).
This means the first square is 0 and therefore would be the first entry in one of the piece-square-tables for example pawnEvalWhite which is square a8.
But if you call board.piece_at(0) you get the piece at square a1 instead.

Am I missing something or should the piece-square tables be reversed?

run command ?

i managed to let Andoma play in CuteChess by the command python ./main.py, however your documentation states the command python run ./main.py should execute the program :

python3: can't open file 'run': [Errno 2] No such file or directory

now it's unclear to me how to help .. here are my gathered Python engines, maybe you could try to add one of those to CuteChess and see if same error occurs :

          now it's unclear to me how to help .. here are my gathered Python engines, maybe you could try to add one of those to CuteChess and see if same error occurs :

some-python-based-engines

Originally posted by @tissatussa in #25 (comment)
Any ideas how I can add the engine through command line into the app I am struggling with this error from yesterday idk what to do.please help me somehow... Also I'll try to add other python engines also..

Fix Flake8 lint warnings

🔧

./movegeneration.py:3:1: F401 'sys' imported but unused
./movegeneration.py:10:11: E221 multiple spaces before operator
./movegeneration.py:11:17: E222 multiple spaces after operator
./movegeneration.py:25:14: E712 comparison to True should be 'if cond is True:' or 'if cond:'
./movegeneration.py:81:1: C901 'minimax' is too complex (13)
./communication.py:20:1: C901 'command' is too complex (14)
./test/test_engine.py:155:128: E501 line too long (212 > 127 characters)
2     C901 'command' is too complex (14)
1     E221 multiple spaces before operator
1     E222 multiple spaces after operator
1     E501 line too long (212 > 127 characters)
1     E712 comparison to True should be 'if cond is True:' or 'if cond:'
1     F401 'sys' imported but unused

use with CuteChess ?

hi, i just discovered your Andoma chess engine. Although it's made with Python, i should be able to run it in CuteChess, but it fails .. see screenshots .. i think your UCI protocol is not fully compatible with CuteChess .. i can send you the logs, but you can easily test it in CuteChess yourself .. it seems Andoma is not connecting properly, it performs one move and stops listening to the "CuteChess master" - same with Andoma playing White
[ i use Xubuntu 20.04 ]
andoma_quit
andoma_quit2

ELO estimates of andoma

Hey, I know that this is not a very active project, but I found it to be the most friendly chess engine to work with, since I needed just a simple "heres my move, what is yours" type of chess engine, which this was very simple to adapt to.

I was wondering if you know an estimate ELO of your chess engine? Both for the default depth of 3 and how it would change if we went deeper or less deep.

Thanks!

Andoma in CuteChess : default low depth ?

hi, since your Andoma works in my CuteChess, i played some games with it .. i know, it's just a simple UCI engine, it even gives pieces for no reason now and then .. nevermind .. i guess your python code is also meant to experiment .. so, i have some questions.

in CuteChess, Andoma plays always very fast, within a second, whatever the time setting .. is this a bug ? Or does it just have a max depth ? The CuteChess settings pane for Andoma is empty ..

in the CuteChess info window, besides the spent thinking time also the eval value could be shown ? I guess this value is somewhere in the code for deciding "best move" ?

and those files in /test : how to use / include them ?

Bot plays worse as White

The bot is stronger when playing as Black.

It appears to make blunders when playing as White that it shouldn't make per design.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.