{"id":19241628,"url":"https://github.com/cwbudde/cards","last_synced_at":"2025-02-23T14:29:33.274Z","repository":{"id":72749599,"uuid":"82570508","full_name":"CWBudde/Cards","owner":"CWBudde","description":"HTML5 Card Game","archived":false,"fork":false,"pushed_at":"2018-06-01T23:28:08.000Z","size":888,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-05T03:12:03.099Z","etag":null,"topics":["card-game","dwscript","html5-game","object-pascal","solitaire-game"],"latest_commit_sha":null,"homepage":null,"language":"Pascal","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/CWBudde.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":"2017-02-20T15:04:43.000Z","updated_at":"2024-05-17T17:30:49.000Z","dependencies_parsed_at":"2023-03-29T18:04:39.177Z","dependency_job_id":null,"html_url":"https://github.com/CWBudde/Cards","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/CWBudde%2FCards","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CWBudde%2FCards/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CWBudde%2FCards/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CWBudde%2FCards/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CWBudde","download_url":"https://codeload.github.com/CWBudde/Cards/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240327178,"owners_count":19783987,"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":["card-game","dwscript","html5-game","object-pascal","solitaire-game"],"created_at":"2024-11-09T17:12:02.679Z","updated_at":"2025-02-23T14:29:33.227Z","avatar_url":"https://github.com/CWBudde.png","language":"Pascal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cards\n\nCards is a simple Solitaire clone which was created in order to play one of my personal favorite solitaire game on any mobile device.\n\nIt was inspired by the Solitaire flash game which can be found at http://www.gamedesign.jp/flash/card/card.html\n\n## Installation\n\nThe game does not need to get installed. You can simply [run this game in your browser](https://rawgit.com/CWBudde/Cards/master/Output/www/index.html). However, since this game comes with the full source code you can also compile it by yourself.\nIt's even possible to build Android and iOS versions from this code.\n\n### Compilation with DWScript\nThe source code of this game is written in an Object Pascal dialect which can be compiled with [DWScript](https://www.delphitools.info/dwscript/). Since DWScript itself is not a full compiler, but a package of compiler tools around a very powerful scripting language more than this is necessary.\nInitially the game was written with a proprietary IDE with a closed source compiler. However, recently an DWScript based open source compiler is available which allows to compile the source code with an equal quality. It is part of the [HOPE Object Pascal Environment](https://github.com/Walibeiro/Hope). While the entire suite is still in some sort of an alpha state (the IDE does not seem to be very stable), its command-line compiler (HCC.exe) looks promising. It also comes with a node.js command-line compiler, which might also work.\n\nNow, in order to compile the source code you'll first need to download the command-line compiler. In addition to this you'll need the [HOPE APIs](https://github.com/Walibeiro/Hope-APIs).\n  \nOnce everything is in place just call:\n\n    HCC.exe Source\\Cards.hpr\n\nwhich should generate the file 'Cards.js' in the Output\\www directory. All other files in that directory are static.\n\n### Hybrid web-apps with Cordova\nIn order to transform this game into a hybrid web-app for your mobile device it's only necessary to run a few cordova calls.\n\nFirst move to the 'Output' directory. Then add a platform with\n\n    cordova platform add android\n\nIf cordova isn't installed already, please call\n\n    npm i -g cordova\n\nto use the Node.js package manager (\"npm\") to install cordova.\n\nOnce a platform has been added the app can already get built with\n\n    cordova build\n\nTo run it on your device simply type\n\n    cordova run --device\n\nIf you omit the '--device' it will run inside the emulator instead.\n\n## License\n\nThe source code is released under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwbudde%2Fcards","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcwbudde%2Fcards","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcwbudde%2Fcards/lists"}