{"id":15714487,"url":"https://github.com/chaniceirungu/labyrinth-escape","last_synced_at":"2025-03-30T19:47:03.349Z","repository":{"id":255159158,"uuid":"848386205","full_name":"ChaniceIrungu/labyrinth-escape","owner":"ChaniceIrungu","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-29T22:24:59.000Z","size":74,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T19:47:00.909Z","etag":null,"topics":["jest","nodejs","testing","typescript"],"latest_commit_sha":null,"homepage":"","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/ChaniceIrungu.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}},"created_at":"2024-08-27T17:02:06.000Z","updated_at":"2024-08-29T22:25:02.000Z","dependencies_parsed_at":"2024-10-24T14:45:20.500Z","dependency_job_id":null,"html_url":"https://github.com/ChaniceIrungu/labyrinth-escape","commit_stats":null,"previous_names":["chaniceirungu/labyrinth-escape"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChaniceIrungu%2Flabyrinth-escape","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChaniceIrungu%2Flabyrinth-escape/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChaniceIrungu%2Flabyrinth-escape/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChaniceIrungu%2Flabyrinth-escape/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChaniceIrungu","download_url":"https://codeload.github.com/ChaniceIrungu/labyrinth-escape/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246372503,"owners_count":20766626,"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":["jest","nodejs","testing","typescript"],"created_at":"2024-10-03T21:37:35.755Z","updated_at":"2025-03-30T19:47:03.331Z","avatar_url":"https://github.com/ChaniceIrungu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Labyrinth Shortest Path\n\nThis project implements a labyrinth solver that finds the shortest path from a start point ('S') to an end point ('E') in a given grid, where walls are represented by '1' and open paths by '0'. The program validates user input, constructs the labyrinth, and then uses a breadth-first search algorithm to determine the shortest path, returning the length of the path or -1 if no path exists. The project also utilizes a CLI allowing the user to input labyrinth structure and receive the result directly in the terminal.\n\n![alt text](src/assets/Labyrinth_CLI.png)\n\n## Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/ChaniceIrungu/labyrinth-escape.git\n   ```\n\n2. Navigate to the `labyrinth-escape` directory.\n\n3. Install dependencies:\n\n   ```bash\n   npm install\n   ```\n\n## Running the Application\n\n1. Execute the following command to run the app in development mode:\n\n   ```bash\n   npm run dev\n   ```\n\n   **OR**\n\n2. Execute the following command to build and run the app:\n\n   ```bash\n   npm run build\n   npm start\n   ```\n\n## Testing\n\n Execute the following command to run the tests\n\n   ```bash\n   npm test\n   ```\n\n![alt text](src/assets/tests.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaniceirungu%2Flabyrinth-escape","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchaniceirungu%2Flabyrinth-escape","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchaniceirungu%2Flabyrinth-escape/lists"}