{"id":20761849,"url":"https://github.com/james-p-d/wordsearch","last_synced_at":"2026-04-19T22:32:40.445Z","repository":{"id":170649480,"uuid":"268098800","full_name":"James-P-D/WordSearch","owner":"James-P-D","description":"Wordsearch puzzle solver with UI in Java Swing and solver in Erlang","archived":false,"fork":false,"pushed_at":"2021-07-04T20:43:57.000Z","size":2038,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-26T10:47:52.528Z","etag":null,"topics":["erlang","java","swing","wordsearch","wordsearch-puzzle"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/James-P-D.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":"2020-05-30T14:44:14.000Z","updated_at":"2021-07-04T20:44:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"e7c41573-aed9-4fe5-9513-187fd08a020d","html_url":"https://github.com/James-P-D/WordSearch","commit_stats":null,"previous_names":["james-p-d/wordsearch"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/James-P-D/WordSearch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/James-P-D%2FWordSearch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/James-P-D%2FWordSearch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/James-P-D%2FWordSearch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/James-P-D%2FWordSearch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/James-P-D","download_url":"https://codeload.github.com/James-P-D/WordSearch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/James-P-D%2FWordSearch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32025702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":["erlang","java","swing","wordsearch","wordsearch-puzzle"],"created_at":"2024-11-17T10:26:49.176Z","updated_at":"2026-04-19T22:32:40.422Z","avatar_url":"https://github.com/James-P-D.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WordSearch\nWordsearch puzzle solver with [UI](https://github.com/James-P-D/WordSearch/blob/master/src/WordSearch/src/Main.java) in Java using Swing and [searcher](https://github.com/James-P-D/WordSearch/blob/master/src/WordSearch/src/library.erl) in Erlang.\n\n![Screenshot](https://github.com/James-P-D/WordSearch/blob/master/Screenshot.gif)\n\n## Details\n\n### Erlang Server\n\nThe Java application connects to an Erlang server for performing the actual search of words within the grid. To start the server type `erl -sname server -setcookie wordsearchcookie`, or alternatively, just run the `StartErlangServer.bat` [file](https://github.com/James-P-D/WordSearch/blob/master/src/WordSearch/src/StartErlangServer.bat).\n\nAfter starting the server, remember to enter `c(\"library.erl\").` to compile our library.\n\n![Screenshot](https://github.com/James-P-D/WordSearch/blob/master/StartServer.png)\n\nFinally, make a note of our machine name (in this case `DESKTOP-MF9T345`). We will need to enter this information into the Java UI shortly.\n\n### Java Client\n\nThe Java application comes with a `20x20` wordsearch puzzle which contains the names of 20 items of fruit.\n\n![UI](https://github.com/James-P-D/WordSearch/blob/master/UI.png)\n\nAt the top of the UI there is a textbox for entering the path to a word-list file. This should be a plain textfile which contains a list of words, some of which appear in our puzzle.\n\nCurrently this points to [words.txt](https://github.com/James-P-D/WordSearch/blob/master/src/WordSearch/src/words.txt) which contains the names of 20 items of fruit that appear in our grid, and 20 names of vegetables which *don't*.\n\nAt the top of the UI there is also a textbox for entering the name of the machine running our Erlang server. Obviously you will need to change this from `DESKTOP-MF9T345` to whatever appeared onscreen when you started the Erlang server.\n\nFinally, to actually solve the puzzle, click \u003ckbd\u003eConnect\u003c/kbd\u003e to connect to your Erlang server, then \u003ckbd\u003eSolve\u003c/kbd\u003e to begin solving the puzzle. When the application has exhausted the list of words to search for, a short message will be displayed:\n\n![Complete](https://github.com/James-P-D/WordSearch/blob/master/Complete.png)\n\nYou can now click \u003ckbd\u003eDisconnect\u003c/kbd\u003e to terminate the connection to the server.\n\n### Misc Notes\n\nNote that the application will only search horizontally from left-to-right, vertically from top-to-bottom, and diagonally from top-left to bottom-right. Words that appear 'backwards' will not be found.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjames-p-d%2Fwordsearch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjames-p-d%2Fwordsearch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjames-p-d%2Fwordsearch/lists"}