{"id":25119306,"url":"https://github.com/thiagoesteves/erlgame","last_synced_at":"2025-04-22T19:07:37.364Z","repository":{"id":143332517,"uuid":"321321353","full_name":"thiagoesteves/erlgame","owner":"thiagoesteves","description":"Snake Game webserver written in Erlang using cowboy as webserver. It utilizes deployex for handling and managing the app","archived":false,"fork":false,"pushed_at":"2024-12-27T19:12:57.000Z","size":246,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-22T19:07:32.487Z","etag":null,"topics":["aws","aws-cloudformation","deployex","erlang","erlang-cowboy","erlang-otp","game-development","gamedev"],"latest_commit_sha":null,"homepage":"","language":"Erlang","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/thiagoesteves.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":"2020-12-14T11:05:03.000Z","updated_at":"2024-12-27T19:08:21.000Z","dependencies_parsed_at":"2023-04-01T07:49:45.464Z","dependency_job_id":null,"html_url":"https://github.com/thiagoesteves/erlgame","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/thiagoesteves%2Ferlgame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagoesteves%2Ferlgame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagoesteves%2Ferlgame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagoesteves%2Ferlgame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thiagoesteves","download_url":"https://codeload.github.com/thiagoesteves/erlgame/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250306639,"owners_count":21408926,"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":["aws","aws-cloudformation","deployex","erlang","erlang-cowboy","erlang-otp","game-development","gamedev"],"created_at":"2025-02-08T04:38:50.228Z","updated_at":"2025-04-22T19:07:37.339Z","avatar_url":"https://github.com/thiagoesteves.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"![github workflow](https://github.com/thiagoesteves/erlgame/workflows/Erlgame%20CI/badge.svg)\n[![Erlant/OTP Release](https://img.shields.io/badge/Erlang-OTP--26.0-green.svg)](https://github.com/erlang/otp/releases/tag/OTP-26.0)\n\n# Game webserver written in Erlang\n![Erlgame](/doc/erlgame_snake.png)\n\n\nThe app is an example of how Erlang can be used to be part of the Game backend as a server for a single player or multiple players. In this code you will find examples of how to use cowboy webserver, gen_statem (and how to recover from a crash), supervision tree using simple_one_for_one, aws terraform to deploy, common tests, gun to test webserver, etc.\n\n## Getting started ##\nYou need to clone the repository and download [rebar3](https://rebar3.org/docs/getting-started/) (if it's not already available in your path).\n```\ngit clone https://github.com/thiagoesteves/erlgame.git\ncd erlgame\n```\nTo compile and run\n```\nexport PORT=4000\nmake run\n```\nOpen your web browser, got to http://127.0.0.1:4000/, type your Name and play\n\n### Unit Test and coverage\n\nThe following command will invoke common test and coverage.\n\n```\nmake test\n```\n\n### Deploy at AWS Amazon\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiagoesteves%2Ferlgame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthiagoesteves%2Ferlgame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiagoesteves%2Ferlgame/lists"}