{"id":23274618,"url":"https://github.com/boostvolt/zhaw-four-wins","last_synced_at":"2025-10-27T14:30:23.991Z","repository":{"id":268864756,"uuid":"885437142","full_name":"boostvolt/zhaw-four-wins","owner":"boostvolt","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-19T10:54:56.000Z","size":56,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-19T11:33:23.286Z","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/boostvolt.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-11-08T15:27:11.000Z","updated_at":"2024-12-19T10:54:59.000Z","dependencies_parsed_at":"2024-12-19T11:33:30.668Z","dependency_job_id":"01149430-3ae6-44f3-86e4-cdfc899a82d8","html_url":"https://github.com/boostvolt/zhaw-four-wins","commit_stats":null,"previous_names":["boostvolt/zhaw-four-wins"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostvolt%2Fzhaw-four-wins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostvolt%2Fzhaw-four-wins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostvolt%2Fzhaw-four-wins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boostvolt%2Fzhaw-four-wins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boostvolt","download_url":"https://codeload.github.com/boostvolt/zhaw-four-wins/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238507415,"owners_count":19483935,"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":[],"created_at":"2024-12-19T20:14:20.502Z","updated_at":"2025-10-27T14:30:18.657Z","avatar_url":"https://github.com/boostvolt.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zhaw-four-wins\nThis documentation is also available via the following link: https://boostvolt.github.io/zhaw-four-wins/\n\n# Team Setup\n- Jan Kott (kottjan1)\n- Denis Rykart (rykarden)\n- Simon Brand (brandsi3)\n- Roman Boassart(bossarom)\n\n# Setup\nBelow are the different setups described.\n\n## Local Setup\n1. Navigate to the root drectory.\n2. Run the following:\n```sh\nnpm install\nnpm run dev\n```\n3. Open your browser on http://localhost:3000/ to access the game.\n\n## Remote Setup\n- Access the game via: https://boostvolt.github.io/zhaw-four-wins/public/\n- Please note that server side saving and loading is not supported on the github pages hosted version.\n\n# Implementation\n\n## Overview of functions\n- A new game can always be started using the \"Neues Spiel\" button\n- After every move, you can go back using the \"Rückgängig\" button\n- The state of the game can be persisted and loaded locally using the buttons \"Lokal speichern\" and \"Lokal laden\"\n- The state of the game can also be persisted and loaded via a server using the buttons \"Server speichern\" and \"Server laden\"\n- On top of the buttons, it is always visible who's turn it currently is\n\n## Implementation Notes\n- suiweb-1.1 was used\n- At the start of the game, it checks if the server is available. If not, the server side buttons are disabled\n- We have added own styles to make it look more appealing\n- We followed a modularized approach during the implementation\n- The game is using state hooks\n\n# Screenshots\nInitial start of the game:\n![image](https://github.com/user-attachments/assets/b01e41ce-6aa3-4dcc-938f-bc17f334ebc7)\n\nAfter setting a few fields:\n![image](https://github.com/user-attachments/assets/bd128354-a9fd-425b-a460-03120db9e768)\n\nOnce a player has won:\n![image](https://github.com/user-attachments/assets/68c88624-8ca9-4488-970a-788bc463b272)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboostvolt%2Fzhaw-four-wins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboostvolt%2Fzhaw-four-wins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboostvolt%2Fzhaw-four-wins/lists"}