Code Monkey home page Code Monkey logo

pychessbot's People

Contributors

louisasanaka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pychessbot's Issues

I get an install error

I got the error chess.uci is not found. I tried to pip install chess , and the version in requirements.txt but it did not work. Can you help me, I alerady made a chess engine in python (using the built in library, so it was not impossible) to play how i want.

Disable dragging

Is there a way to disable dragging, so the bot only clicks the piece to move it?

stop playing after one move

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users(\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\chess\engine.py", line 1261, in _line_received
self.line_received(engine, line)
File "C:\Users(\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\chess\engine.py", line 1670, in line_received
self._bestmove(engine, line.split(" ", 1)[1])
File "C:\Users(\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\chess\engine.py", line 1693, in _bestmove
best = _parse_uci_bestmove(engine.board, arg)
File "C:\Users(\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\chess\engine.py", line 1816, in _parse_uci_bestmove
raise EngineError(err)
chess.engine.EngineError: illegal uci: 'e7e5' in rnbqkbnr/pppp1ppp/8/8/4P3/8/PPpP1PPP/RNBQKBNR w KQkq - 0 2

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.