{"id":27217265,"url":"https://github.com/ssolunna/chess","last_synced_at":"2026-04-24T12:34:06.496Z","repository":{"id":287106895,"uuid":"928878075","full_name":"ssolunna/chess","owner":"ssolunna","description":"Play Chess from the command line. Tested with RSpec.","archived":false,"fork":false,"pushed_at":"2025-12-14T03:27:29.000Z","size":447,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-16T03:41:17.458Z","etag":null,"topics":["chess","rspec","ruby"],"latest_commit_sha":null,"homepage":"","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/ssolunna.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-07T12:01:01.000Z","updated_at":"2025-12-14T03:27:32.000Z","dependencies_parsed_at":"2025-04-10T01:44:14.152Z","dependency_job_id":"261f6431-3416-480e-96e9-35d5f28bc8d0","html_url":"https://github.com/ssolunna/chess","commit_stats":null,"previous_names":["ssolunna/chess"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ssolunna/chess","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssolunna%2Fchess","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssolunna%2Fchess/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssolunna%2Fchess/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssolunna%2Fchess/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ssolunna","download_url":"https://codeload.github.com/ssolunna/chess/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssolunna%2Fchess/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32224199,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T10:26:35.452Z","status":"ssl_error","status_checked_at":"2026-04-24T10:25:27.643Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["chess","rspec","ruby"],"created_at":"2025-04-10T05:27:48.793Z","updated_at":"2026-04-24T12:34:06.490Z","avatar_url":"https://github.com/ssolunna.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Game: Chess\n\nChess is a board game played by two players with sixteen pieces each (one king, one queen, two bishops, two rooks, two knights and eight pawns). One plays with white pieces, and the other plays with black pieces. Both players take turns moving their pieces strategically to capture the opponent's king.\n\n\u003e This project was assigned by [The Odin Project](https://www.theodinproject.com/lessons/ruby-ruby-final-project) curriculum (Ruby Path).\n\n## Demo\n\u003cimg src=\"media/chess_demo.gif\" alt=\"Scholar's Mate play in Chess\" width=auto height=\"400px\"/\u003e\u003cbr\u003e\n*Demo game featuring [Scholar's Mate](https://www.chess.com/terms/scholars-mate-chess) checkmating pattern*\n\n## How to play\n### Play from the CLI:\n#### Prerequisites\n- Ruby \u003e= 3.1.2\n- Bundler \u003e= 2.3.7\n\n#### Install \n1. [Clone this repository](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository#cloning-a-repository)\n\n*(inside the chess directory)*\n\n2. Run `bundle install`\n3. Run `ruby lib/main.rb`\n\n### Play online:\n1. Go to [replit](https://replit.com/@ssolunna/chess)\n2. Press \u003ckbd\u003ectrl\u003c/kbd\u003e\u003ckbd\u003eenter\u003c/kbd\u003e or click the play (green) button on the top-left corner\n\n*(Note that, in Replit, some colours may not be properly displayed, but I believe all functionalities are working as intended)*.\n\n## Rules\nThe game covers pretty much all the rules of a classic game of chess, except for the time clock:\n- Default movements of pieces: Pawn, Knight, Rook, Bishop, Queen and King\n- Check, mate and stalemate conditions\n- Castling move\n- Taking en-passant\n- Pawn promotion \n- Draw proposal\n- Resignation\n- Repetition of moves (threefold repetition)\n- Fifty-move rule\n- Touching pieces\n\nFor further information look on the following website: [ChessVariants](https://www.chessvariants.org/d.chess/chess.html)\n\n## Guidelines\n- Notation for squares is `[column][row]`, e.g., \"e1\" for the square on the \"e\" column/field and \"1\" row/rank\n- You can save the game by typing `save` when prompted to choose a piece. *(Note that if you already saved a game and choose to save another one, the former will be overwritten by the latter)*\n- You can resign from playing by typing `resign` when prompted to choose a piece\n- If you are not sure what to type, i.e., what pieces are available to move or which moves are legal, press \u003ckbd\u003eenter\u003c/kbd\u003e and a range of options will be displayed\n- To quickly dismiss the draw proposal prompts, press \u003ckbd\u003eenter\u003c/kbd\u003e  \n\n## Acknowledgements\n- [Rules and guidance](https://www.chessvariants.org/d.chess/chess.html)\n- [Chess pieces ASCII art](https://www.asciiarthub.com/)\n\n## Feedback\nIf you have any feedback, don't hesitate in letting me know. I'm always open for ways of improvement.\n___\nCreated by [Selena Solunna](http://www.github.com/ssolunna)\n\n___\n### Personal notes \n- PERSEVERENCE FOR THE WIN ! \n- Thank God I have finished it.\n- In theory, it took me 2 years to complete since my initial commit, with a lot of ups and downs. In practice, it took me about 5 months which felt like 2 years anyway.\n- It was truly a joyful challenge, nonetheless. So much learned! Thanks [TOP](https://www.theodinproject.com/).\n- Can't believe I got to know about Marshal after grappling with JSON. Anyway, another unintended learning experience.\n- Don't even want to touch on Rspec. It was pure pain, but a must-have.\n- If you find any bugs or errors... Keep it to yourself. I'm done. /jk\n- No, really, I'm kidding. Please let me know. I strive for perfectionism.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssolunna%2Fchess","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fssolunna%2Fchess","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssolunna%2Fchess/lists"}