{"id":20153758,"url":"https://github.com/zachstence/war","last_synced_at":"2026-05-07T00:34:33.262Z","repository":{"id":44190381,"uuid":"419891770","full_name":"zachstence/war","owner":"zachstence","description":"A simulation of the card game War in the browser","archived":false,"fork":false,"pushed_at":"2023-04-23T00:34:06.000Z","size":1128,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-13T12:24:53.366Z","etag":null,"topics":["card-game","react","typescript"],"latest_commit_sha":null,"homepage":"https://zachstence.github.io/war","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/zachstence.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":"2021-10-21T22:13:52.000Z","updated_at":"2021-11-02T15:45:33.000Z","dependencies_parsed_at":"2025-01-13T12:23:14.739Z","dependency_job_id":"f3dbb385-5bc2-44a0-a3e2-de4c4fd7cf56","html_url":"https://github.com/zachstence/war","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachstence%2Fwar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachstence%2Fwar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachstence%2Fwar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zachstence%2Fwar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zachstence","download_url":"https://codeload.github.com/zachstence/war/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241593058,"owners_count":19987476,"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":["card-game","react","typescript"],"created_at":"2024-11-13T23:21:21.513Z","updated_at":"2026-05-07T00:34:33.232Z","avatar_url":"https://github.com/zachstence.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# War\n\n![War Screenshot](https://github.com/zachstence/war/blob/main/screenshot.png)\n\n## Table of Contents\n- [Demo](#demo)\n- [Running Locally](#running-locally)\n- [Technology](#technology)\n- [Architecture](#architecture)\n- [Next Steps](#next-steps)\n\n## Demo\nYou can access a live version of the game at [zachstence.github.io/war](https://zachstence.github.io/war).\n\n## Running Locally\nTo run the code locally, first clone the repository\n```console\n$ git clone https://github.com/zachstence/war.git \u0026\u0026 cd war\n```\n\nThen, run the application\n```console\n$ npm start\n```\n\nLast, navigate to [http://localhost:3000](http://localhost:3000) in your browser.\n\n## Technology\nThis project uses the Create React App [TypeScript Template](https://create-react-app.dev/docs/adding-typescript/) for the project framework, [node-sass](https://www.npmjs.com/package/node-sass) to compile SCSS to CSS, and [React Testing Library](https://testing-library.com/docs/react-testing-library/intro/) for testing.\n\n## Architecture\nThe core functionality and state of the game is housed in the [`\u003cGame /\u003e`](src/components/Game/Game.tsx) component which interacts with a [Deck](src/Deck/Deck.ts) for each player. The [components](src/components) handle all of the rendering.\n\nBoth the [Deck](src/Deck/Deck.ts) and each [component](src/components) are (at least decently) tested.\n\n## Next Steps\n- Improved styling\n- Better responsive design for different screen sizes\n- More statistics on player win rate, total rounds played, etc.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzachstence%2Fwar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzachstence%2Fwar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzachstence%2Fwar/lists"}