Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where do we get data/lichess/*.json ? #4

Open
vitogit opened this issue Dec 19, 2017 · 2 comments
Open

Where do we get data/lichess/*.json ? #4

vitogit opened this issue Dec 19, 2017 · 2 comments

Comments

@vitogit
Copy link

vitogit commented Dec 19, 2017

I saw that this method tries to load this files, but the folder is empty. Where do we get that data?
Is there a lichess puzzle dataset? or do we need to generate it using https://github.com/clarkerubber/problem-creator?

def self.load_from_json_files!
    files = Dir.glob(Rails.root.join("data/lichess/*.json"))
@linrock
Copy link
Owner

linrock commented Jun 25, 2018

my bad, i didn't see this earlier. you can download puzzle data from lichess tactics trainer levels. the puzzle data format changed a while ago (last year?) so this import method would need to be updated.

@linrock
Copy link
Owner

linrock commented Apr 11, 2021

some instructions for setting up a development environment with the puzzles used in production are now in the readme here: https://github.com/linrock/blitz-tactics#development

the JSON data files can be found here:
https://github.com/linrock/blitz-tactics-puzzles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants