{"id":16836797,"url":"https://github.com/redblobgames/2226-roguelikedev","last_synced_at":"2025-04-11T05:11:01.875Z","repository":{"id":43475714,"uuid":"510799838","full_name":"redblobgames/2226-roguelikedev","owner":"redblobgames","description":"2022 Reddit r/roguelikedev summer tutorial series","archived":false,"fork":false,"pushed_at":"2025-01-05T17:30:04.000Z","size":890,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T03:12:44.542Z","etag":null,"topics":["roguelike","tutorial"],"latest_commit_sha":null,"homepage":"https://www.redblobgames.com/x/2226-roguelike-dev/","language":"TypeScript","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/redblobgames.png","metadata":{"files":{"readme":"README.org","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-05T15:46:52.000Z","updated_at":"2025-01-05T17:30:08.000Z","dependencies_parsed_at":"2025-02-18T18:35:41.173Z","dependency_job_id":"48e1a084-f50d-4373-aca4-10656e2867e8","html_url":"https://github.com/redblobgames/2226-roguelikedev","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/redblobgames%2F2226-roguelikedev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redblobgames%2F2226-roguelikedev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redblobgames%2F2226-roguelikedev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redblobgames%2F2226-roguelikedev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redblobgames","download_url":"https://codeload.github.com/redblobgames/2226-roguelikedev/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248345266,"owners_count":21088244,"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":["roguelike","tutorial"],"created_at":"2024-10-13T12:14:53.120Z","updated_at":"2025-04-11T05:11:01.823Z","avatar_url":"https://github.com/redblobgames.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[[http://unmaintained.tech/badge.svg]]\n\nEach summer, the [[https://old.reddit.com/r/roguelikedev/][r/roguelikedev]] community has a [[https://old.reddit.com/r/roguelikedev/wiki/python_tutorial_series][tutorial series]] where we all follow along to build a roguelike.  I had attempted it in 2018 but got stuck in the middle. I attempted it again in 2020 and made it all the way through. I attempted it again in 2021 and made it halfway. I'm attempting again in 2022.\n\nFor the 2020 version I wrote mine in JavaScript instead of Python. Unlike some of the other JavaScript projects, I didn't use node.js or a build step like webpack. It's one html file and one js file included with a \u003cscript\u003e tag. This is how I prefer to code small projects, and only switch to more organization once the project gets larger.\n\nFor the 2021 and 2022 versions I used TypeScript and multiple files bundled together using esbuild so that it is still included with a \u003cscript\u003e tag.\n\n[[https://www.redblobgames.com/x/2025-roguelike-dev/][I wrote notes in 2020]] about how my version differs from the Python tutorial, especially around UI, where I used the browser's HTML+CSS to build a UI instead of using a console menu. [[https://www.redblobgames.com/x/2126-roguelike-dev/][I wrote notes in 2021]] about switching to sprites, thin walls, a different map generator, a different visibility approach, and other features I wanted to try. [[https://www.redblobgames.com/x/2226-roguelike-dev/][I wrote notes in 2022]] about a more \"fortress mode\" game instead of \"adventure mode\". I wanted to implement friendly NPCs and room building.\n\nIf you want to build this yourself you'll need to download the sprites from [[https://game-icons.net/][game-icons.net]] and put them into the =game-icons/= folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredblobgames%2F2226-roguelikedev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredblobgames%2F2226-roguelikedev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredblobgames%2F2226-roguelikedev/lists"}