{"id":30270890,"url":"https://github.com/silent-lad/vuesolitaire","last_synced_at":"2025-08-16T03:10:35.567Z","repository":{"id":37693163,"uuid":"178656213","full_name":"silent-lad/VueSolitaire","owner":"silent-lad","description":"Solitaire made in Vue","archived":false,"fork":false,"pushed_at":"2023-01-03T18:57:21.000Z","size":9318,"stargazers_count":134,"open_issues_count":20,"forks_count":605,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-06-19T03:07:17.229Z","etag":null,"topics":["klondike","solitaire","solitaire-game","spider-solitaire","vue","vue-solitaire","vue-solitaire-klondike-spider","vuejs"],"latest_commit_sha":null,"homepage":"https://silentlad.com/how-to-write-beautiful-and-meaningful-readme.md","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/silent-lad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-31T07:27:09.000Z","updated_at":"2024-05-09T08:27:02.000Z","dependencies_parsed_at":"2023-02-01T09:01:27.266Z","dependency_job_id":null,"html_url":"https://github.com/silent-lad/VueSolitaire","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/silent-lad/VueSolitaire","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silent-lad%2FVueSolitaire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silent-lad%2FVueSolitaire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silent-lad%2FVueSolitaire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silent-lad%2FVueSolitaire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/silent-lad","download_url":"https://codeload.github.com/silent-lad/VueSolitaire/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silent-lad%2FVueSolitaire/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270661490,"owners_count":24624108,"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","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["klondike","solitaire","solitaire-game","spider-solitaire","vue","vue-solitaire","vue-solitaire-klondike-spider","vuejs"],"created_at":"2025-08-16T03:10:30.276Z","updated_at":"2025-08-16T03:10:35.556Z","avatar_url":"https://github.com/silent-lad.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eVueSolitaire\u003c/h1\u003e\n\u003ch2 align=\"center\"\u003e\n\n[![Mentioned in Awesome Vue.js](https://awesome.re/mentioned-badge.svg)](https://github.com/vuejs/awesome-vue)\n\n\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003e\n  \n\u003cimg src=\"https://img.shields.io/npm/dy/silentlad\"\u003e\n\n\u003cimg src=\"https://img.shields.io/badge/made%20by-silentlad-blue.svg\" \u003e\n\n\u003cimg src=\"https://img.shields.io/badge/vue-2.2.4-green.svg\"\u003e\n\n\u003cimg src=\"https://badges.frapsoft.com/os/v1/open-source.svg?v=103\" \u003e\n\n\u003cimg src=\"https://beerpay.io/silent-lad/VueSolitaire/badge.svg?style=flat\"\u003e\n\n\u003cimg src=\"https://img.shields.io/github/stars/silent-lad/VueSolitaire.svg?style=flat\"\u003e\n\n\u003cimg src=\"https://img.shields.io/github/languages/top/silent-lad/VueSolitaire.svg\"\u003e\n\n\u003cimg src=\"https://img.shields.io/github/issues/silent-lad/VueSolitaire.svg\"\u003e\n\n\u003cimg src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat\"\u003e\n\u003c/p\u003e\n\n\u003cimg src=\"./readme_assets/h2.png\" width=\"100%\"\u003e\n\n\u003ch2 align=\"center\"\u003e\u003ca  href=\"https://solitairevue.firebaseapp.com\"\u003eLive Demo\u003c/a\u003e\u003c/h2\u003e\n\n### [Contributions are Welcome](https://github.com/silent-lad/VueSolitaire/blob/master/CONTRIBUTING.md)\n\n## Description\n\n**NOW WITH DRAG AND DROP**\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://media.giphy.com/media/7OWdOQupgCClrZb19P/giphy.gif\" width=\"80%\"\u003e\u003c/p\u003e\n\nSolitaire implemented by scratch on vue.js. It contains 3 types of solitaire namely spider(which was made famous by microsoft back when I was a kid) ,spider 4 suit and klondike. I've learned web development myself without any course or coaching so don't expect too much from the source code xD.\n\n**This project is inspired by [AadumKhor](https://github.com/AadumKhor) Go check out his flutter implementation of the same [Here](https://github.com/AadumKhor/Solitaire_Flutter)** .\n\n## How to play\n\n### Drag and Drop [__Chrome,Opera__]:-\n\n- **Drag** the card or the card pile you want to move.\n- **Drop** the dragged card pile on the target and if the move is legal card will move\n- Note:- Drag and Drop doesn't work for properly for **firefox** due to their lack of support to html Drag and drop API - https://bugzilla.mozilla.org/show_bug.cgi?id=505521 .\n\n### Click edition [__Mobile,Firefox,Chrome,Safari,Opera__]-\n\n- **Click** on the card or card pile you want to move .The pile turns to **blue**.\n- **Click** on the\n  destination card and if the move is legal the cards will\n  stack below the target.\n\n## About the project.\n\n### Drag and Drop\n\n- Drag and drop is implemented with native html5 drag and drop api with @drag, @dragend, @dragenter eventlisteners on the Card.vue component.\n- Libraries like Vue.draggable were not used as i had to write most of the drag and drop logic according to the solitaire game type and I also had to **MOVE** the stack of cards.\n- Ghost image in drag is removed instead the **whole stack** of card moves with cursor change.\n\n### CSS\n\n- Each and every card is 100% css except the SVG of the suit in the center of the card,which is made by illustrator tool.\n\n  \u003cp align=\"center\"\u003e\u003cimg  src=\"./readme_assets/4.png\" width=\"30%\"\u003e\u003c/p\u003e\n\n### 3 mode menu\n\nChoose from 3 variants of solitaire form the main menu\n\n\u003cp align=\"center\"\u003e\u003cimg  src=\"./readme_assets/menu.png\" width=\"70%\"\u003e\u003c/p\u003e\n\n# Variants\n\n## **Klondike**\n\n\u003cp align=\"center\"\u003e\n\u003cimg  src=\"./readme_assets/3.png\" width=\"80%\"\u003e\n\u003c/p\u003e\n\u003c!-- \u003cimg src=\"./readme_assets/3.png\" width=\"50%\"\u003e --\u003e\n\n## **Spider 4 Suit**\n\n\u003cp align=\"center\"\u003e\n\u003cimg  src=\"./readme_assets/5.png\" width=\"80%\"\u003e\n\u003c/p\u003e\n\n## **Spider 1 Suit**\n\n\u003cp align=\"center\"\u003e\n\u003cimg  src=\"./readme_assets/1.png\" width=\"80%\"\u003e\n\u003c/p\u003e\n\n## Project setup\n\n```\nnpm install\nnpm run serve\n```\n\n## Future scope\n\n- Add winning animation.\n\n## Support on Beerpay\n\nHey dude! Help me out for a couple of :beers:!\n\n[![Beerpay](https://beerpay.io/silent-lad/VueSolitaire/badge.svg?style=beer-square)](https://beerpay.io/silent-lad/VueSolitaire) [![Beerpay](https://beerpay.io/silent-lad/VueSolitaire/make-wish.svg?style=flat-square)](https://beerpay.io/silent-lad/VueSolitaire?focus=wish)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilent-lad%2Fvuesolitaire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsilent-lad%2Fvuesolitaire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilent-lad%2Fvuesolitaire/lists"}