{"id":20972409,"url":"https://github.com/kyleu/solitaire.gg","last_synced_at":"2026-03-07T12:01:18.160Z","repository":{"id":144998547,"uuid":"254657483","full_name":"kyleu/solitaire.gg","owner":"kyleu","description":null,"archived":false,"fork":false,"pushed_at":"2020-06-02T16:48:39.000Z","size":181993,"stargazers_count":16,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-09T05:11:17.593Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kyleu.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,"zenodo":null}},"created_at":"2020-04-10T14:39:39.000Z","updated_at":"2025-09-02T13:40:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb83abfc-4806-47b8-9a97-198f9e4464a7","html_url":"https://github.com/kyleu/solitaire.gg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kyleu/solitaire.gg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyleu%2Fsolitaire.gg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyleu%2Fsolitaire.gg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyleu%2Fsolitaire.gg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyleu%2Fsolitaire.gg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kyleu","download_url":"https://codeload.github.com/kyleu/solitaire.gg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyleu%2Fsolitaire.gg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30212485,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T09:02:10.694Z","status":"ssl_error","status_checked_at":"2026-03-07T09:02:08.429Z","response_time":53,"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-19T04:08:01.438Z","updated_at":"2026-03-07T12:01:18.110Z","avatar_url":"https://github.com/kyleu.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Solitaire.gg\n\nhttps://solitaire.gg\n\n## Running the app\n\n```shell\n$ sbt\n\u003e run\n$ open http://localhost:9000\n```\n\n## Projects\n\n* `solitaire-gg` Main web application. Handles online games.\n* `sharedJvm` Core game logic and rules definitions, for JVM projects.\n* `sharedJs` Shared classes, compiled to Scala.js JavaScript.\n* `sharedNative` Shared classes, compiled to native code.\n* `client` Scala.js app to support offline play.\n* `util` Various utility projects, mainly for batch processing.\n\n\n## Technology\n\nSolitaire.gg is a WebGL client-server solitaire implementation with offline support. Using 4K-ready retina-quality HD graphics, Solitaire.gg aims to be the best card game available.\n\nIn online mode, a Play application communicates over a WebSocket to a pool of Akka actors managing games and connections. \nSerialization is handled by Play Json, and all database communication runs via postgres-async. In offline mode, Scala.js compiles the\nshared code and provides an in-browser server, communicating with the client via JavaScript interop.\n\nRendering is handled by Phaser.io using a simple message-passing interface.\nA general Solitaire solver is included, supporting backtracking and propagation.\n\n\n## Metrics\n\nAll meaningful operations are tracked through Scala Metrics, and are exposed through JMX or a servlet available by default on port 9001.\nReporting to Graphite can be enabled through application.conf, and reports to localhost:2003 by default.\nMetrics exposes all actors, queries, logs, requests, and jvm info.\n\n\n## Contributing\n\nAll Scala code is formatted by Scalariform, and passes all checks from Scalastyle and Scapegoat. No Scala file is longer than 100 lines, no line \nlonger than 140 characters, and all warnings are treated as errors. Tests are part of the main source tree so they can be run from the browser.\n\nJavaScript is verified by Require.js and UglifyJS. Any Javascript errors or warnings will be treated as compile errors. \n\nSecurity filters are in place, and are configured so that resources (css, js, etc) can only be loaded from the configured host.\nInline styles and scripts are prohibited.\n\n\n## License\n\nSolitaire.gg is free, open-source software under the [MIT license](LICENSE.md).\n\nCopyright (c) 2017 Kyle Unverferth\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyleu%2Fsolitaire.gg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyleu%2Fsolitaire.gg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyleu%2Fsolitaire.gg/lists"}