{"id":13763833,"url":"https://github.com/linrock/blitz-tactics","last_synced_at":"2025-05-10T17:31:10.131Z","repository":{"id":11365043,"uuid":"69437085","full_name":"linrock/blitz-tactics","owner":"linrock","description":"Fast-paced chess tactics trainer","archived":false,"fork":false,"pushed_at":"2024-11-03T18:04:54.000Z","size":7868,"stargazers_count":160,"open_issues_count":39,"forks_count":33,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-11-16T23:32:23.023Z","etag":null,"topics":["chess","chess-game","chess-puzzle","game","javascript-game"],"latest_commit_sha":null,"homepage":"https://blitztactics.com","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linrock.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-28T07:24:01.000Z","updated_at":"2024-11-03T17:45:10.000Z","dependencies_parsed_at":"2024-08-03T15:02:48.254Z","dependency_job_id":"59c344e6-4b20-45c0-8849-3f3dd466b92d","html_url":"https://github.com/linrock/blitz-tactics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linrock%2Fblitz-tactics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linrock%2Fblitz-tactics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linrock%2Fblitz-tactics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linrock%2Fblitz-tactics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linrock","download_url":"https://codeload.github.com/linrock/blitz-tactics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253453220,"owners_count":21911061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chess","chess-game","chess-puzzle","game","javascript-game"],"created_at":"2024-08-03T15:01:00.420Z","updated_at":"2025-05-10T17:31:05.123Z","avatar_url":"https://github.com/linrock.png","language":"Ruby","readme":"# [Blitz Tactics](https://blitztactics.com)\n\nA free and open-source website for playing fast-paced chess puzzles!\n\nIf you want to play random puzzles each time:\n\n* [Three](https://blitztactics.com/three) - three minutes, three lives, three hints.\n* [Haste](https://blitztactics.com/haste) - correct moves gain time, mistakes lose time.\n\nThese puzzles change daily:\n\n* [Countdown](https://blitztactics.com/countdown) - solve puzzles before time runs out\n* [Speedrun](https://blitztactics.com/speedrun) - solve puzzles as quickly as you can\n\nFor more ways to play:\n\n* [Repetition](https://blitztactics.com/repetition) - solve every puzzle quickly and precisely to unlock the next level\n* [Infinity](https://blitztactics.com/infinity) - play through endless puzzles and set your own difficulty\n\n\u003cdiv align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003ca href=\"https://blitztactics.com\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://blitztactics.com/demo.gif\"\u003e\n  \u003c/a\u003e\n  \u003cbr\u003e\u003cbr\u003e\n\u003c/div\u003e\n\n## Development\n\nThe backend uses [Rails 6](https://rubyonrails.org/), [Ruby 2.7.3](https://www.ruby-lang.org/en/news/2021/04/05/ruby-2-7-3-released/), and [Node 12.x LTS](https://nodejs.org/en/download/releases/). [Postgres 9](https://www.postgresql.org/) is used for the database. Chess puzzle data is imported into the database from [JSON data files](https://github.com/linrock/blitz-tactics-puzzles).\n\nThe frontend uses a modified version of [Chessground](https://github.com/ornicar/chessground) for the\ninteractive chessboard and [chess.js](https://github.com/jhlywa/chess.js) for chess logic. User interfaces are implemented with [Vue 3](https://vuejs.org/) and some legacy [Backbone.js](https://backbonejs.org/) code. [Webpack 4](https://v4.webpack.js.org/) and [Sprockets 4](https://github.com/rails/sprockets) are both used for asset compilation.\n\n### Development instructions\n\nFirst make sure your dev environment is set up for Ruby and Typescript development.\nYou'll need [Yarn](https://yarnpkg.com/) and maybe a Ruby version manager like\n[chruby](https://github.com/postmodern/chruby) or [RVM](https://rvm.io/).\nThen from within your git clone of the codebase, these steps will get you\na dev environment with the chess puzzles used on the site:\n\n```bash\nbundle install    # install ruby gems\nyarn install      # install node_modules\n\nrails db:create   # set up an empty postgres db: blitz-tactics_development\nrails db:migrate  # sets up the db schema\n\nyarn lichess:puzzles:fetch   # downloads ~125k lichess v1 puzzles as JSON files\nyarn lichess:puzzles:import  # import puzzles from JSON into the db (15+ min)\nyarn lichess:puzzles:check   # should confirm the puzzles were loaded\n\nyarn blitz:game_modes:fetch  # downloads puzzles used on blitztactics.com as JSON files\nyarn blitz:game_modes:import # imports game modes puzzles into the db (6+ min)\nyarn blitz:game_modes:check  # prints the number of puzzles in the db for each game mode\n```\n\n* Run a rails dev server: `rails s`\n* Run a webpack dev server: `yarn dev` or `./bin/webpack-dev-server`\n\nGo to `http://localhost:3000/` and you'll see the Blitz Tactics homepage if all went well.\n\n## Special thanks\n\n* [Stepmania](http://www.stepmania.com/) - inspiration for the original game mechanics\n* [lichess](https://lichess.org/) - tactics puzzles and awesome community's feedback\n","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinrock%2Fblitz-tactics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinrock%2Fblitz-tactics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinrock%2Fblitz-tactics/lists"}