{"id":19407838,"url":"https://github.com/moseseth/game-of-3","last_synced_at":"2025-10-13T04:39:45.684Z","repository":{"id":228669251,"uuid":"773355593","full_name":"moseseth/game-of-3","owner":"moseseth","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-19T20:36:23.000Z","size":5586,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-24T23:14:20.168Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/moseseth.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}},"created_at":"2024-03-17T12:54:36.000Z","updated_at":"2024-03-27T17:15:07.000Z","dependencies_parsed_at":"2024-03-19T22:50:55.267Z","dependency_job_id":null,"html_url":"https://github.com/moseseth/game-of-3","commit_stats":null,"previous_names":["moseseth/game-of-3-musie","moseseth/game-of-3"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/moseseth/game-of-3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moseseth%2Fgame-of-3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moseseth%2Fgame-of-3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moseseth%2Fgame-of-3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moseseth%2Fgame-of-3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moseseth","download_url":"https://codeload.github.com/moseseth/game-of-3/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moseseth%2Fgame-of-3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013685,"owners_count":26085390,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"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-10T12:03:55.356Z","updated_at":"2025-10-13T04:39:45.639Z","avatar_url":"https://github.com/moseseth.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Built With\n- Java 16 with Maven \n- Web client written in HTML, CSS \u0026 JS [No framework]\n- Socket.io based both in client and server\n- A desire to see a closer look at the task :)\n\n\u003cimg alt=\"screenshot\" height=\"440\" src=\"g3.png\" width=\"260\"/\u003e\n\n### Getting Started\n\n- Inorder to setup the project , it is straight forward.\n  * All you need is a java running in your machine with version 16+\n- The .jar is already packaged with dependencies in the root of the repository.\n- Find the terminal and run:\n```commandline\n  java -jar gameof3.jar\n ```\nOnce the socket based application is running. \n- Open the `client/` folder to access the html, js and css combo.\n- (Run the index.html) you will be able to navigate your way.\n- Please read Key notes.\n- Perhaps, all technical details will be left for the interview\n\n### Docker compose\n```\ndocker-compose up -d\n\nlocalhost:8080 for webclient \nlocalhost:9092 for ws // refer console for docker container\n```\n\n### Key notes:\n- The game has two modes, one manual the other automatic\n- By default it is automatic, all that is required is start the game by pressing the button\n- Once that round is over, refresh the browsers in 2 separate tabs (to simulate 2 users)\n- Then toggle the button on the top corner of the page.\n- Once you do that start the game again, you will then be able to enter the numbers of your \n- choice\n\n- There might be fundamental issues with frontend, not perfect!\n- Nevertheless, you can watch the progress right from the terminal where the socket server is\n- running, there are outputs about the move.\n\nThat is alles! \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoseseth%2Fgame-of-3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoseseth%2Fgame-of-3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoseseth%2Fgame-of-3/lists"}