blitz-tactics
blitz-tactics copied to clipboard
Where do we get data/lichess/*.json ?
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"))
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.
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