Coder Social home page Coder Social logo

python-puzzle-creator's People

Contributors

clarkerubber avatar ddugovic avatar lukhas avatar niklasf 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

Watchers

 avatar  avatar  avatar  avatar

python-puzzle-creator's Issues

Game Over: False

I modified the code to read from a pgn file. I iterated it till the end and made sure that it is_game_over(). But I am unable to generate any puzzle.

It always gave me this error:

Not Going Deeper:
Ambiguous: True
Game Over: False
Has Best Move: True
Puzzle incomplete

game.txt

Missing module?

So I booted up the puzzle generator today, and it threw this error:

Traceback (most recent call last):
  File "G:\Python-Puzzle-Creator-master\main.py", line 7, in <module>
    import chess.uci
ModuleNotFoundError: No module named 'chess.uci'

How can I get this "chess.uci" module?
pip says there is no such module.

Provide a systemd config file

Here's an example:

[Unit]
Description=Puzzles instance
After=network.target

[Service]
User=puzzles
Group=puzzles
WorkingDirectory=/var/www/puzzles
Environment=PATH=/var/www/puzzles/puzzles/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
ExecStart=/bin/bash -c 'source /var/www/puzzles/puzzles/bin/activate; cd /var/www/puzzles/Python-Puzzle-Creator ; python main.py $key $instance $threads'
Restart=always

[Install]
WantedBy=multi-user.target

secret api token?

the command line reads:

python main.py <Secret API Token> <#Threads = 4> <Hash (MBytes) = 2048>

where can I get the API token from?

I have an account on lichess and there's some kind of API key generator,
but I could not figure out which options should be turned on for the puzzle generator to work?

thanks!

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.