{"id":20041796,"url":"https://github.com/andreasmazur/playyouahaskell","last_synced_at":"2025-09-09T11:39:27.693Z","repository":{"id":112595825,"uuid":"353229039","full_name":"andreasMazur/PlayYouAHaskell","owner":"andreasMazur","description":"A Haskell framework and environment to create and play 2D ASCII games within the Bash terminal.","archived":false,"fork":false,"pushed_at":"2023-02-02T14:32:36.000Z","size":57,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T07:14:52.049Z","etag":null,"topics":["haskell","haskell-application","haskell-exercises","haskell-learning","haskell-library","learning"],"latest_commit_sha":null,"homepage":"","language":"Haskell","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/andreasMazur.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","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":"2021-03-31T04:50:23.000Z","updated_at":"2024-03-03T05:39:53.000Z","dependencies_parsed_at":"2023-08-02T05:45:40.395Z","dependency_job_id":null,"html_url":"https://github.com/andreasMazur/PlayYouAHaskell","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andreasMazur/PlayYouAHaskell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasMazur%2FPlayYouAHaskell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasMazur%2FPlayYouAHaskell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasMazur%2FPlayYouAHaskell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasMazur%2FPlayYouAHaskell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreasMazur","download_url":"https://codeload.github.com/andreasMazur/PlayYouAHaskell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreasMazur%2FPlayYouAHaskell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274291358,"owners_count":25258156,"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-09-09T02:00:10.223Z","response_time":80,"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":["haskell","haskell-application","haskell-exercises","haskell-learning","haskell-library","learning"],"created_at":"2024-11-13T10:47:51.173Z","updated_at":"2025-09-09T11:39:27.641Z","avatar_url":"https://github.com/andreasMazur.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PlayYouAHaskell\n\n## About 'Play You a Haskell'\n\n'Play You a Haskell' (PYaH) is an easy to use **framework** which allows to create 2D ASCII-games for the Bash-terminal in **Haskell**. For example, you can create game stories as multiple related 'chapters' with 'prgoram-holes', which shall be filled by the player in order to proceed into the next chapter. Thus, the usage of this framework is generally divided into two perspectives:\n\n  * **The story-creator perspective**: Modeling the story by creating chapters with the help of the provided features from the framework\n  * **The player perspective**: Using PYaH to access and play an existing story, fulfilling the story-given tasks\n\nThe framework shall encourage people to learn Haskell in a joyful way by creating the possibility to embed Haskell-programming tasks in games. Simultaneously, it shall be easy to create stories to motivate story-creators to program intersting storylines for the palyers. This is why 'Play You a Haskell' offers a game environment with basic physics and a variety of game features like *tripwires*, *an inventory* and more out of the box. \n\n## Installation and Starting PYaH\n\nCurrently, PYaH can only be used within the GHCi. Compiling it and executing the binaries currently causes some visual bugs. Furthermore, [Haskell Stack](https://docs.haskellstack.org/en/stable/README/) is required, as PYaH was written as a Haskell Stack project.\n\nYou install PYaH by simply cloning this repository:\n\n```\ngit clone https://github.com/andreasMazur/PlayYouAHaskell.git\n```\n\nAfterwards you start stack from the root directory of the project:\n\n```\n../PlayYouAHaskell\u003e stack ghci\n```\n\nThen, you can hide the loaded Haskell modules within the GHCi-prompt:\n\n```\nListOfManyModules\u003e :set prompt \"\u003e\"\n```\n\nFinally, one starts the game by executing the `main`-function:\n\n```\n\u003e main\n```\n\nNow you are located in the main menu of PYaH, where you can select to load or start a new game.\n\n## Story Creation and Available Features\n\nPYaH is still under developement. *Soon*, an example story line will be available that shall illustrate how to create a new story and what features are currently available.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreasmazur%2Fplayyouahaskell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreasmazur%2Fplayyouahaskell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreasmazur%2Fplayyouahaskell/lists"}