{"id":21936368,"url":"https://github.com/tjstretchalot/text_mp_adventure","last_synced_at":"2026-04-26T16:32:15.815Z","repository":{"id":148118374,"uuid":"137269596","full_name":"Tjstretchalot/text_mp_adventure","owner":"Tjstretchalot","description":"A console multiplayer town of salem / throne of lies deception game ","archived":false,"fork":false,"pushed_at":"2018-09-02T19:55:50.000Z","size":858,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-22T14:16:57.255Z","etag":null,"topics":["deception","deception-game","lua","multiplayer","throne-of-lies","town-of-salem"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/Tjstretchalot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2018-06-13T20:53:04.000Z","updated_at":"2023-08-10T19:40:43.000Z","dependencies_parsed_at":"2023-05-19T04:45:13.689Z","dependency_job_id":null,"html_url":"https://github.com/Tjstretchalot/text_mp_adventure","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Tjstretchalot/text_mp_adventure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tjstretchalot%2Ftext_mp_adventure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tjstretchalot%2Ftext_mp_adventure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tjstretchalot%2Ftext_mp_adventure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tjstretchalot%2Ftext_mp_adventure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tjstretchalot","download_url":"https://codeload.github.com/Tjstretchalot/text_mp_adventure/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tjstretchalot%2Ftext_mp_adventure/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32305035,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T09:34:17.070Z","status":"ssl_error","status_checked_at":"2026-04-26T09:34:00.993Z","response_time":129,"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":["deception","deception-game","lua","multiplayer","throne-of-lies","town-of-salem"],"created_at":"2024-11-29T01:14:16.699Z","updated_at":"2026-04-26T16:32:15.796Z","avatar_url":"https://github.com/Tjstretchalot.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raising Gonthu\n\nThis is a work-in-progress deception game that you play in the console. It is\nmultiplayer. See the design folder for details about how that game functions.\n\nThe working name for the game is \"Raising Gonthu\" which comes from the goal for\ndemons - to raise Gonthu. The game is heavily inspired by Town of Salem, its\nspiritual successor Throne of Lies, the series Wynonna Earp, and various\ncontemporary storylines.\n\n# Design Considerations\n\nThe game is designed to be as friendly to developers as possible, so every\nclient gets the entire state of the game and there are easy tools (/inspect,\n/runfile) to run custom code during the game or to inspect the state of the game.\nThe only unacceptable hack would be remote code execution, which is avoided\nthrough the event system (assuming the json library doesn't have any security\nissues)\n\n# Running the Game\n\nIf you are on windows and have lua installed already, then just do \"lua host_game.lua\"\nand follow the prompts.\n\nInstalling lua is a challenge on windows. One way to save some headache is\ninstalling ZeroBrane Studio just for the lua binaries. It comes with most of the\npopular lua libraries (this project requires LuaSocket and json).\n\nFor this project I am using Lua 5.1.5 on the standard interpreter. If you are\nnot familiar with installing lua I encourage you not to use LuaJIT since it\nlost it's main maintainer in 2016.\n\n# Platform\n\nCurrently the game runs on Windows only - this is just because I have a windows\nmachine and that's what I'm testing on. If you want to port the game to other\nplatforms, you need a new way to fetch available keys without blocking. The\ncurrent version (GetAvailableKeys.exe) is:\n\n```C#\nnamespace IsKeyAvailableFramework\n{\n    class Program\n    {\n        static void Main(string[] args)\n        {\n            while (Console.KeyAvailable)\n            {\n                var key = Console.ReadKey(true); \n                var keyCode = (int)key.Key;\n\n                Console.Write(keyCode.ToString());\n                Console.Write(\" \");\n                Console.Write(key.KeyChar);\n                Console.WriteLine();\n            }\n        }\n    }\n}\n```\n\nAdditionally there are several locations (search for `os.execute`) where we use\nwindows command prompt to do stuff like determine console width. In most cases\nthe linux version of doing it is actually easier, so porting shouldn't take very\nlong if you can make the available keys thing work.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftjstretchalot%2Ftext_mp_adventure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftjstretchalot%2Ftext_mp_adventure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftjstretchalot%2Ftext_mp_adventure/lists"}