{"id":26194320,"url":"https://github.com/active-group/tum-workshop-2021","last_synced_at":"2026-04-26T07:33:16.601Z","repository":{"id":54848117,"uuid":"332484356","full_name":"active-group/tum-workshop-2021","owner":"active-group","description":"Haskell-Workshop 2021 TU München","archived":false,"fork":false,"pushed_at":"2021-01-26T16:43:40.000Z","size":51,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2023-08-01T02:40:08.955Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","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/active-group.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":"2021-01-24T15:29:06.000Z","updated_at":"2023-08-01T02:40:08.957Z","dependencies_parsed_at":"2022-08-14T04:40:36.374Z","dependency_job_id":null,"html_url":"https://github.com/active-group/tum-workshop-2021","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/active-group%2Ftum-workshop-2021","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/active-group%2Ftum-workshop-2021/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/active-group%2Ftum-workshop-2021/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/active-group%2Ftum-workshop-2021/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/active-group","download_url":"https://codeload.github.com/active-group/tum-workshop-2021/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243141224,"owners_count":20242817,"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":[],"created_at":"2025-03-12T01:56:10.207Z","updated_at":"2025-12-25T08:28:20.700Z","avatar_url":"https://github.com/active-group.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Preparation\n\nIf you have a working Haskell/Cabal setup for Haskell 8.8 or 8.10,\nthings might just work.\n\nOtherwise:\n\n- install [Docker](https://www.docker.com/)\n- give Docker at least 6GB RAM where relevant\n- in the `docker-ghcide` directory, say do `docker build -t ghcide .`\n  (this might take a while)\n- install [Visual Studio Code](https://code.visualstudio.com/download)\n- install VS Code Extension \"Remote - Containers\" \n- select  \"View\" -\u003e \"Command Palette\" (some modifiers + P), type\n  \"containers\",  select\"Remote - Containers: Open Folder in Container\"\n- open the `hearts` directory\n\nVS Code will then construct a container to do its business.  That\nmight also take while.\n\n# Starting the Game\n\n## Console\n\nThe `Sync` module has two functions `gameAlong` and\n`gameInteractive`. (Very rudimentary.)\n\n## UI version\n\n- in the `hearts` directory, run `./docker-shell.sh` to start a\n  suitable shell in a Docker container\n\n- inside the Docker container, do `cabal build` to build the server\n\n- inside the Docker container, do `./run-server-inside-docker.sh` to\n  start the server\n  \n- *outside* the Docker container:\n\n- install [Elm](https://elm-lang.org/)\n\n- cd to `hearts-frontend`, do:\n\n```\nelm reactor\n```\n\n- go to the URL there, typically\n  [`http://localhost:8000`](http://localhost:8000)\n  \n- click on `examples`, then `HeartsFrontend.elm`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factive-group%2Ftum-workshop-2021","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factive-group%2Ftum-workshop-2021","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factive-group%2Ftum-workshop-2021/lists"}