{"id":19251055,"url":"https://github.com/onesignal/superpowers-hangman","last_synced_at":"2026-06-10T23:31:18.372Z","repository":{"id":147087092,"uuid":"394416451","full_name":"OneSignal/superpowers-hangman","owner":"OneSignal","description":"Hangman game we made during our 'learn to code' Coding Superpowers extravaganza","archived":false,"fork":false,"pushed_at":"2021-11-22T19:27:21.000Z","size":238,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":30,"default_branch":"main","last_synced_at":"2025-12-09T18:52:28.541Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OneSignal.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":"2021-08-09T19:35:36.000Z","updated_at":"2021-11-22T20:16:22.000Z","dependencies_parsed_at":"2023-03-26T15:47:33.099Z","dependency_job_id":null,"html_url":"https://github.com/OneSignal/superpowers-hangman","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/OneSignal/superpowers-hangman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneSignal%2Fsuperpowers-hangman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneSignal%2Fsuperpowers-hangman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneSignal%2Fsuperpowers-hangman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneSignal%2Fsuperpowers-hangman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OneSignal","download_url":"https://codeload.github.com/OneSignal/superpowers-hangman/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneSignal%2Fsuperpowers-hangman/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34175887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-09T18:19:46.553Z","updated_at":"2026-06-10T23:31:18.353Z","avatar_url":"https://github.com/OneSignal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Hangman from Coding Superpowers\n\nWe made this hangman game as a group in the coding superpowers channel! We\nstarted with some basics already set up so we could focus on writing the logic\nof hangman -- how to get words and deal with them and interact with the user and\ntheir guesses. Overall it was a good showcase for the constant decisions and\nchoices going on when taking a project from idea to execution and we ended up\nwith a playable (if a bit clunky/ugly) hangman game!\n\n![Screen Shot 2021-08-09 at 12 38 47 PM](https://user-images.githubusercontent.com/5257160/128764236-279bcc7e-e0f1-4257-ad70-2992b7538130.png)\n\nPlay it [here](https://onesignal.github.io/superpowers-hangman)!\n\n\n# How to learn from this\n\nPlay with the code! There is a section below with instructions on how\nto build this locally. Once you have it running on your computer you\ncan do anything you like! If you make something neat you can even\nshare it back with the main repository as a pull request!\n\n\n# Next Steps\n\nWe used this as a platform to think about and implement the hangman logic and\nmost of the UI but we started with some useful building blocks (the canvas that\ndraws the hanged man and a component to show the letters). Now that we've made\nthe logic, it would be a great exercise to delete the manandgallows component\nand the word component and reimplement them yourself, perhaps in a nicer looking\nor more configurable way.\n\nAlso, like all things and games especially, there is always lots and lots of\nroom to polish this. Make a new, better interface, make the winning and losing\nmore interesting than just some ugly text, or anything else!\n\nIf you want to learn more about the behind-the-scenes part there is plenty of\nwork that could be done in the 'project hygene' department like adding linters,\nor switching to typescript.\n\n\n# Set up\n\nAfter cloning the project go into the project folder and run the following\ncommands (you'll need yarn installed globally):\n\n`yarn install`\n\n\n# How to run locally\n\nAfter the initial set up you can start the build server with this command:\n\n`yarn start`\n\n\n# How to make a build\n\nIf you want to make a standalone build you can run the server locally with\nthe instructions above and then host the resulting `dist` folder. This will have\neverything you need for a standalone static build you can host anywhere.\n\n\n# How to update the hosted version\n\nThis is hosted on github pages - in order to update the hosted version run:\n\n`yarn prod`\n\nThis will make a production build and replace the hosting folder ('docs')\ncontents with the new build contents. Commit and push and github will do the\nrest automatically.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonesignal%2Fsuperpowers-hangman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonesignal%2Fsuperpowers-hangman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonesignal%2Fsuperpowers-hangman/lists"}