{"id":23897601,"url":"https://github.com/boostup/react-lights-out","last_synced_at":"2026-06-10T21:32:20.316Z","repository":{"id":143741383,"uuid":"292334788","full_name":"boostup/react-lights-out","owner":"boostup","description":"A game which will drive you nuts, with very cool looking graphics and smooth interactions.","archived":false,"fork":false,"pushed_at":"2020-11-10T18:50:56.000Z","size":1813,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-13T21:03:21.457Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/boostup.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-09-02T16:23:48.000Z","updated_at":"2020-11-10T18:50:59.000Z","dependencies_parsed_at":"2025-11-13T21:02:04.103Z","dependency_job_id":null,"html_url":"https://github.com/boostup/react-lights-out","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/boostup/react-lights-out","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostup%2Freact-lights-out","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostup%2Freact-lights-out/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostup%2Freact-lights-out/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostup%2Freact-lights-out/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boostup","download_url":"https://codeload.github.com/boostup/react-lights-out/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostup%2Freact-lights-out/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34172196,"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":"2025-01-04T17:16:48.280Z","updated_at":"2026-06-10T21:32:20.302Z","avatar_url":"https://github.com/boostup.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[Live Demo](https://pedantic-stonebraker-c10870.netlify.app/)\n\n**Gameplay**: The game consists of a 5 by 5 grid of lights. When the game starts, a random number or a stored pattern of these lights is switched on. Pressing any of the lights will toggle it and the four adjacent lights. The goal of the puzzle is to switch all the lights off, preferably in as few button presses as possible.\n\n![Lights Out Game](public/images/lights-out-demo.gif)\n\n---\n\n# Tips\n\n- Number the rows 1-5, the columns A-E.\n- For each light on row 1, press the button beneath it on row 2 to turn the light off. This way row 1 is completely unlit.\n- Repeat step a for rows 2-4, so that now you only have lights on row 5. This is usually called 'chasing the lights'.\n- If the light at A5 is on, press D1 and E1.\n- If the light at B5 is on, press B1 and E1.\n- If the light at C5 is on, press D1.\n- Repeat steps a-b, chasing the lights down and it will be magically solved.\n- This method will not solve the puzzle in the shortest possible way, but it is very simple.\n\n---\n\n## Roadmap\n\n- [ ] include a reset/restart button for when player has won, or when player decides they want to try a new puzzle\n- [ ] display moves counter\n- [ ] show hints\n\n## About the branch named `centered-and-not-responsive`\n\nContrary to the master branch, the above mentioned branch holds a version of the layout that is centered and not responsive.\n\n### Pros and Cons of the centered layout\n\n`Pros` : the cells are always squared\n`Cons` : doesn't fit on mobile screens\n\n## About this project\n\nThis project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `yarn start`\n\nRuns the app in the development mode.\u003cbr /\u003e\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\nThe page will reload if you make edits.\u003cbr /\u003e\nYou will also see any lint errors in the console.\n\n### `yarn test`\n\nLaunches the test runner in the interactive watch mode.\u003cbr /\u003e\nSee the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.\n\n### `yarn build`\n\nBuilds the app for production to the `build` folder.\u003cbr /\u003e\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\u003cbr /\u003e\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.\n\n### `yarn eject`\n\n**Note: this is a one-way operation. Once you `eject`, you can’t go back!**\n\nIf you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.\n\nInstead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.\n\nYou don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.\n\n## Learn More\n\nYou can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).\n\nTo learn React, check out the [React documentation](https://reactjs.org/).\n\n### Code Splitting\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting\n\n### Analyzing the Bundle Size\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size\n\n### Making a Progressive Web App\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app\n\n### Advanced Configuration\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration\n\n### Deployment\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/deployment\n\n### `yarn build` fails to minify\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboostup%2Freact-lights-out","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboostup%2Freact-lights-out","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboostup%2Freact-lights-out/lists"}