{"id":24178782,"url":"https://github.com/jason80/dragonfly","last_synced_at":"2025-03-02T18:16:09.205Z","repository":{"id":262529721,"uuid":"862607047","full_name":"jason80/dragonfly","owner":"jason80","description":"Interactive Fiction Game Engine in Javascript","archived":false,"fork":false,"pushed_at":"2025-02-09T16:28:42.000Z","size":449,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-09T17:30:25.837Z","etag":null,"topics":["game-development","gameengine","interactive-fiction","javascript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/jason80.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":"2024-09-24T22:12:51.000Z","updated_at":"2025-02-09T16:28:45.000Z","dependencies_parsed_at":"2024-11-12T23:27:46.664Z","dependency_job_id":"753a00c7-1a63-4650-a81b-9beae127e48e","html_url":"https://github.com/jason80/dragonfly","commit_stats":null,"previous_names":["jason80/dragonfly"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jason80%2Fdragonfly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jason80%2Fdragonfly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jason80%2Fdragonfly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jason80%2Fdragonfly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jason80","download_url":"https://codeload.github.com/jason80/dragonfly/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241549134,"owners_count":19980476,"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":["game-development","gameengine","interactive-fiction","javascript"],"created_at":"2025-01-13T05:13:33.902Z","updated_at":"2025-03-02T18:16:09.085Z","avatar_url":"https://github.com/jason80.png","language":"JavaScript","readme":"# Dragonfly\n*Interactive Fiction Game Engine in Javascript*\n\n![Game sample](media/sample1.png)\n\n**You can find some examples in the `samples` directory available in English.**\n\n## Setting up the project\n\nClone the git repository with submodules:\n\n```sh\ngit clone --recurse-submodules https://github.com/jason80/dragonfly/\n```\n\nCreate and navigate mygame dir:\n\n```sh\nmkdir dragonfly/mygame\ncd dragonfly/mygame\n```\n\nCreate the files \"index.html\" and \"mygame.js\".\n\n## Basic \"index.html\":\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n\u003chead\u003e\n\t\u003cmeta charset=\"UTF-8\"\u003e\n\t\u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"\u003e\n\t\u003ctitle\u003eMy Game\u003c/title\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n\t\u003cdiv id=\"game-area\"\u003e\u003c/div\u003e\n\t\u003cscript type=\"module\" src=\"mygame.js\"\u003e\u003c/script\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\n## File \"mygame.js\":\n\n```javascript\nimport { Book } from \"../base/book.js\"\n\nwindow.onload = function() {\n\tconst book = new Book(\"game-area\");\n\n\tbook.run();\n}\n```\n\n## Tutorial:\n[Español](./tutorial/spanish.md \"Tutorial en español\")\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjason80%2Fdragonfly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjason80%2Fdragonfly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjason80%2Fdragonfly/lists"}