{"id":19962029,"url":"https://github.com/philipf5/lights-puzzle","last_synced_at":"2026-05-12T18:06:30.910Z","repository":{"id":192649799,"uuid":"157645649","full_name":"PhilipF5/lights-puzzle","owner":"PhilipF5","description":null,"archived":false,"fork":false,"pushed_at":"2018-11-17T18:45:40.000Z","size":150,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-12T07:46:39.568Z","etag":null,"topics":["angular"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/PhilipF5.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}},"created_at":"2018-11-15T03:17:48.000Z","updated_at":"2019-07-06T02:44:31.000Z","dependencies_parsed_at":"2023-09-05T19:31:24.808Z","dependency_job_id":null,"html_url":"https://github.com/PhilipF5/lights-puzzle","commit_stats":null,"previous_names":["philipf5/lights-puzzle"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhilipF5%2Flights-puzzle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhilipF5%2Flights-puzzle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhilipF5%2Flights-puzzle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhilipF5%2Flights-puzzle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PhilipF5","download_url":"https://codeload.github.com/PhilipF5/lights-puzzle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241396748,"owners_count":19956404,"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":["angular"],"created_at":"2024-11-13T02:09:14.979Z","updated_at":"2026-05-12T18:06:30.833Z","avatar_url":"https://github.com/PhilipF5.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lights-puzzle\n\nThis is a recreation of the *Lights Out* puzzle popularized by Tiger Electronics and reused in plenty of video games since then. The player is given a grid of lights, some of which are lit. Clicking any light toggles both it and all of the immediately adjacent lights, meaning any of those lights that are on will turn off, and any that are off will turn on. The objective is to reach a state where all of the lights are off.\n\nThe default configuration offers 3x3 and 6x6 grids, which means all possible puzzles are inherently solvable (it's a math thing). If you modify the project to produce different grid sizes, the randomizer may generate unsolvable puzzles.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilipf5%2Flights-puzzle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilipf5%2Flights-puzzle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilipf5%2Flights-puzzle/lists"}