{"id":18388173,"url":"https://github.com/ccnmtl/island-game","last_synced_at":"2025-10-28T03:33:51.314Z","repository":{"id":57277932,"uuid":"48386632","full_name":"ccnmtl/island-game","owner":"ccnmtl","description":"Masivukeni Island Game","archived":false,"fork":false,"pushed_at":"2017-06-12T07:27:28.000Z","size":283,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-30T11:32:47.578Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ccnmtl.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-21T18:08:03.000Z","updated_at":"2016-04-29T12:03:07.000Z","dependencies_parsed_at":"2022-09-13T18:31:55.857Z","dependency_job_id":null,"html_url":"https://github.com/ccnmtl/island-game","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccnmtl%2Fisland-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccnmtl%2Fisland-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccnmtl%2Fisland-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ccnmtl%2Fisland-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ccnmtl","download_url":"https://codeload.github.com/ccnmtl/island-game/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248162864,"owners_count":21057826,"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":[],"created_at":"2024-11-06T01:31:55.384Z","updated_at":"2025-10-28T03:33:46.296Z","avatar_url":"https://github.com/ccnmtl.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Masivukeni Island Game\n\nPackaging the Island Game activity from\n[Masivukeni](https://github.com/ccnmtl/smart_sa/) as a reusable\njavascript library.\n\n(none of the rest of this really works yet. I'm doing documentation\ndriven development):\n\n### Install \n\n    $ npm install island-game --save\n\n\nmake an entrypoint .js file somewhere:\n\n```\nvar model = require('island-game').IslandGame;\nvar view = require('island-game').IslandGameView;\nvar jQuery = require('jquery');\n\nvar islandView = new view({\n    model: new model({\n        beforeMedication: true}),\n        el: 'div#island_container',\n\t\tgender: 'F',\n        mode: 'after-medication'\n    });\n```\n\nPut some scaffold HTML elements in place:\n\n```\n    \u003cdiv id=\"island_container\" class=\"island-container\"\u003e\u003c/div\u003e\n```\n\nconfigure webpack:\n\n```\n    entry: [\n        \"./media/island-game-entrypoint.js\",\n\t],\n    ...\n    module: {\n        loaders: [\n            { test: /\\.css$/, loader: 'style-loader!css-loader' },\n            { test: /\\.png/, loader: 'file' },\n...\n```\n\n```\n$ webpack --config webpack.config.js\n```\n\n### Todo\n\n* [ ] construct required DOM elements automatically. Basically\n  everything in\n  [here](https://github.com/ccnmtl/smart_sa/blob/master/smart_sa/island_game/templates/island_game/island.html)\n* [ ] tests\n* [ ] publish to npm\n* [ ] image path fixes in js and css\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccnmtl%2Fisland-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fccnmtl%2Fisland-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fccnmtl%2Fisland-game/lists"}