{"id":37186151,"url":"https://github.com/brisberg/twine-games","last_synced_at":"2026-01-14T21:35:11.995Z","repository":{"id":56459217,"uuid":"255410548","full_name":"brisberg/twine-games","owner":"brisberg","description":"Set of simple browser games built in Twine","archived":true,"fork":false,"pushed_at":"2020-11-09T08:37:45.000Z","size":619,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-21T17:07:03.811Z","etag":null,"topics":["browser-games","tweego","twine","twine-games"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/brisberg.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":"2020-04-13T18:29:53.000Z","updated_at":"2023-01-28T11:59:12.000Z","dependencies_parsed_at":"2022-08-15T19:10:29.509Z","dependency_job_id":null,"html_url":"https://github.com/brisberg/twine-games","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/brisberg/twine-games","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brisberg%2Ftwine-games","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brisberg%2Ftwine-games/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brisberg%2Ftwine-games/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brisberg%2Ftwine-games/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brisberg","download_url":"https://codeload.github.com/brisberg/twine-games/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brisberg%2Ftwine-games/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28435364,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T21:32:52.117Z","status":"ssl_error","status_checked_at":"2026-01-14T21:32:33.442Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["browser-games","tweego","twine","twine-games"],"created_at":"2026-01-14T21:35:11.199Z","updated_at":"2026-01-14T21:35:11.986Z","avatar_url":"https://github.com/brisberg.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Twine Games (Deprecated)\n\nSet of simple browser games built in Twine\n\nPlay them [online](https://brisberg.github.io/twine-games/)!\n\nDeprecated 11/2020 in favor of modular repository structure - [twine.brisberg.dev](https://github.com/brisberg/twine.brisberg.dev).\n\n## Install\n\nInstall [golang](https://golang.org/doc/install) for your system.\\\nInstall the Tweego compiled binary with:\\\n`go get github.com/tmedwards/tweego`\n\n## Editing\n\n### Tweego\n\nUse the [Tweego](https://github.com/tmedwards/tweego) twee compiler to compile `.twee` or `.tw` files into built `.html` files ready for viewing.\n\n* Make edits to the `.twee` or `.tw` files for your game.\n* Compile it for viewing/distribution\n  * `go run builder/*`\n\n#### Story Formats\n\nThe Tweego compiled requires a local copy of any Storyformat you use, located in the `storyformats/` directory. If you need a new format you will need to get them yourself, and add them to the formats folder.\n\nFor a list of all formats Tweego has access to: `go run github.com/tmedwards/tweego formats`\n\n### Online-editor\n\nLess perferable, but if you'd like a graphical view of the story structure the compiled `.html` file can be edited using the online Twine 2 Editor.\n\n**NOTE**: This will only work for games built in a single `.twee` file.\n\n* Open the Editor at https://twinery.org/2\n* `Import from File` and select the compiled `\u003cstory\u003e.html` file.\n* Make any edits / rearrange stories\n* `Publish to File` and overrite the old `\u003cstory\u003e.html` file.\n* Run the Tweego decompiler to backport your changes to the `.twee file.\n  * `go run github.com/tmedwards/tweego dist/\u003cgame\u003e.html -o games/\u003cgame\u003e/\u003cgame\u003e.twee -d (-f \u003cformat\u003e)`\n\n### Analytics\n\nThis project uses Google Analytics and Google Tag Manager to track user engagement.\n\nThe `analytics.html` file initializes a GTM dataLayer for the container of all TwineGames: `GTM-T6XR5LZ`. This does not need to be modified per game, just set up a unique trigger/tag for each game and use the GameName as the `event` name.\n\nBe sure to forward the GTM tag to a specific GA Property for each game.\n\n#### Events\n\nBecause Twine games are run as a single page, GTM will only pick up a single page view event by default. If you want to track other engagement, you must provide custom events (such as \"Start\", \"Finish\", \"Dead\", etc).\n\nFollow this [naming scheme](https://mixedanalytics.com/blog/event-tracking-naming-strategy-for-google-analytics/) for custom events.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrisberg%2Ftwine-games","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrisberg%2Ftwine-games","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrisberg%2Ftwine-games/lists"}