{"id":13665067,"url":"https://github.com/munificent/a-turn-based-game-loop","last_synced_at":"2025-03-17T01:31:46.941Z","repository":{"id":19321677,"uuid":"22559972","full_name":"munificent/a-turn-based-game-loop","owner":"munificent","description":"Demo code for http://journal.stuffwithstuff.com/2014/07/15/a-turn-based-game-loop/","archived":false,"fork":false,"pushed_at":"2014-08-03T04:50:22.000Z","size":140,"stargazers_count":29,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-27T17:35:40.280Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/munificent.png","metadata":{"files":{"readme":"README.md","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":"2014-08-02T23:08:42.000Z","updated_at":"2025-02-17T03:44:33.000Z","dependencies_parsed_at":"2022-09-08T05:10:30.319Z","dependency_job_id":null,"html_url":"https://github.com/munificent/a-turn-based-game-loop","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/munificent%2Fa-turn-based-game-loop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/munificent%2Fa-turn-based-game-loop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/munificent%2Fa-turn-based-game-loop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/munificent%2Fa-turn-based-game-loop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/munificent","download_url":"https://codeload.github.com/munificent/a-turn-based-game-loop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243841209,"owners_count":20356443,"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-08-02T05:03:16.773Z","updated_at":"2025-03-17T01:31:46.627Z","avatar_url":"https://github.com/munificent.png","language":"Dart","funding_links":[],"categories":["Dart"],"sub_categories":[],"readme":"This is the repo for the demos in [this article][] on writing a turn-based game\nloop for a roguelike.\n\n## Running them yourself\n\nThe code here is written in Dart. To get it up and running locally, you'll need\nto have the [Dart SDK][sdk] installed.\n\nOnce you have Dart installed and its `bin/` directory on your `PATH`, then:\n \n1. Clone this repo.\n2. From the root directory of it, run: `$ pub serve`\n3. In your browser, open: `http://localhost:8080`\n\nPub will automatically compile the Dart code to JavaScript if you hit that URL\nwith a production browser. Leave pub serve running, and whenever you change the\nDart code, it will notice that and recompile the JS on the fly.\n\nYou can also run the Dart code natively using [Dartium][], which comes with the\nDart SDK. Just hit the same URL and it is smart enough to serve the raw Dart\ncode instead of the compiled JS.\n\n[this article]: http://journal.stuffwithstuff.com/2014/07/15/a-turn-based-game-loop/\n[dart]: http://dartlang.org\n[sdk]: https://www.dartlang.org/tools/download.html\n[dartium]: https://www.dartlang.org/tools/dartium/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmunificent%2Fa-turn-based-game-loop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmunificent%2Fa-turn-based-game-loop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmunificent%2Fa-turn-based-game-loop/lists"}