{"id":21989683,"url":"https://github.com/micrum/knight-move","last_synced_at":"2026-04-13T17:34:36.187Z","repository":{"id":74653921,"uuid":"45706713","full_name":"micrum/knight-move","owner":"micrum","description":"Simple and addictive game ","archived":false,"fork":false,"pushed_at":"2015-11-24T18:50:08.000Z","size":1372,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-23T03:16:23.979Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://knightmove.r15.railsrumble.com/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/micrum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-06T20:50:41.000Z","updated_at":"2016-05-06T23:32:53.000Z","dependencies_parsed_at":"2023-03-11T17:34:18.988Z","dependency_job_id":null,"html_url":"https://github.com/micrum/knight-move","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/micrum/knight-move","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micrum%2Fknight-move","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micrum%2Fknight-move/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micrum%2Fknight-move/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micrum%2Fknight-move/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/micrum","download_url":"https://codeload.github.com/micrum/knight-move/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micrum%2Fknight-move/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31762681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-29T19:32:07.220Z","updated_at":"2026-04-13T17:34:36.171Z","avatar_url":"https://github.com/micrum.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Getting started\n\nWe use rails-dotenv so you need to create\n\n```\n.env.test\n.env.development\n```\n\nwith variables\n\n```\nPOSTGRESQL_HOST=#{your_hostname} # localhost usually\nPOSTGRESQL_USERNAME=#{your_username}\nPOSTGRESQL_PASSWORD=#{your_password}\n```\n\nTo run migrations use: \u003ctt\u003erake db:migrate:reset\u003c/tt\u003e\n\nTo run migrations on production use:\n```\nheroku pg:reset DATABASE_URL --confirm tranquil-bayou-6575\nheroku run rake db:migrate\n```\n\n\n## API:\n\nUSER\n\nTo create a User: `POST http://localhost:3000/users?name=#{name}` - respond will contain uuid\n\nTo update User name: `PUT http://localhost:3000/users?uuid=#{uuid}\u0026name=#{name}`\n\nTo get User name: `GET http://localhost:3000/users?uuid=#{uuid}`\n\nGAME\n\nTo create a Game: `POST http://localhost:3000/games` - respond will contain uuid\n\nTo get game by uuid: `GET http://localhost:3000/games?game_uuid=#{uuid}`\n\nTo save game stats: `PUT http://localhost:3000/games?uuid=#{user_uuid}\u0026game_uuid=#{uuid}\u0026time=#{time}\u0026steps=#{steps}`\n\nTo retrieve position of current game: `GET http://localhost:3000/position?game_uuid=#{uuid}`\n\nTo retrieve scoreboard(top20 games): `GET http://localhost:3000/scoreboard`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrum%2Fknight-move","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrum%2Fknight-move","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrum%2Fknight-move/lists"}