{"id":18763156,"url":"https://github.com/simre1/haskell-game","last_synced_at":"2025-04-13T04:32:27.843Z","repository":{"id":51062668,"uuid":"195282513","full_name":"Simre1/haskell-game","owner":"Simre1","description":null,"archived":false,"fork":false,"pushed_at":"2020-07-29T20:35:03.000Z","size":3472,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-26T21:38:25.680Z","etag":null,"topics":["apecs","ecs","game","game-engine","gpipe","haskell","opengl"],"latest_commit_sha":null,"homepage":null,"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/Simre1.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}},"created_at":"2019-07-04T17:52:28.000Z","updated_at":"2023-01-31T02:05:23.000Z","dependencies_parsed_at":"2022-09-01T16:21:30.644Z","dependency_job_id":null,"html_url":"https://github.com/Simre1/haskell-game","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/Simre1%2Fhaskell-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simre1%2Fhaskell-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simre1%2Fhaskell-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Simre1%2Fhaskell-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Simre1","download_url":"https://codeload.github.com/Simre1/haskell-game/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248664040,"owners_count":21141878,"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":["apecs","ecs","game","game-engine","gpipe","haskell","opengl"],"created_at":"2024-11-07T18:24:54.945Z","updated_at":"2025-04-13T04:32:27.450Z","avatar_url":"https://github.com/Simre1.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# haskell-game\n\nA game in progress using [apecs](https://github.com/jonascarpay/apecs) for handling the game state as well as physics, [polysemy](https://github.com/polysemy-research/polysemy.git) for algebraic effects, a slightly modified version of [GPipe](https://github.com/tobbebex/GPipe-Core.git) for graphics and my own interpretation of FRP Signals *(Sigma)* for data flow management.\n\n## Getting Started\n\n### Prerequisites\n\nThis haskell project is using [stack](https://www.haskellstack.org), which makes it easy to reliably build haskell projects on different machines. You will also need at least [OpenGL 3.3](https://www.opengl.org/).\n\n### Installing\n\nThe following should get you the project installed and running.\n\n```bash\ngit clone https://github.com/Simre1/haskell-game.git\ncd haskell-game\nstack build\nstack exec haskell-game-exe\n```\n\nPress *Space* to start the game and then use the *arrow keys* to move and _Space_ to shoot!\n\n\n## Checking out the code\n\nA good place to start would be the file *./app/Main.hs*, which is the main file for the executable. If you are interested in the Signal implementation **Sigma** or how **GPipe** and **apecs** work together with **polysemy**, look no further than *./src/Sigma.hs*, *./src/Window/GPipe.hs* and *./src/ECS/Apecs.hs* respectively.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimre1%2Fhaskell-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimre1%2Fhaskell-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimre1%2Fhaskell-game/lists"}