blitz-tactics icon indicating copy to clipboard operation
blitz-tactics copied to clipboard

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

Open vitogit opened this issue 7 years ago • 2 comments

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"))

vitogit avatar Dec 19 '17 18:12 vitogit

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 avatar Jun 25 '18 06:06 linrock

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

linrock avatar Apr 11 '21 16:04 linrock