{"id":17597883,"url":"https://github.com/cvan/tanx-1","last_synced_at":"2025-07-11T18:34:26.446Z","repository":{"id":26912514,"uuid":"30374467","full_name":"cvan/tanx-1","owner":"cvan","description":"tanx multiplayer webgl game","archived":false,"fork":false,"pushed_at":"2019-05-15T13:52:55.000Z","size":550,"stargazers_count":18,"open_issues_count":4,"forks_count":72,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-07T15:13:50.517Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"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/cvan.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}},"created_at":"2015-02-05T19:39:53.000Z","updated_at":"2024-07-14T21:02:11.000Z","dependencies_parsed_at":"2022-09-13T22:20:18.591Z","dependency_job_id":null,"html_url":"https://github.com/cvan/tanx-1","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cvan/tanx-1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvan%2Ftanx-1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvan%2Ftanx-1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvan%2Ftanx-1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvan%2Ftanx-1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cvan","download_url":"https://codeload.github.com/cvan/tanx-1/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvan%2Ftanx-1/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264870728,"owners_count":23676294,"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-10-22T09:43:58.506Z","updated_at":"2025-07-11T18:34:26.426Z","avatar_url":"https://github.com/cvan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tanx\n\ntanx multiplayer WebGL game\n\n[__online demo__](http://playcanv.as/p/aP0oxhUr \"tanx game\")\n\n\n## installation \u0026 running\n\n1. Install the Node dependencies:\n\n        npm install\n\n2. Run the server:\n\n        npm start\n\n    Or:\n\n        node app.js\n\n    WebSocket and HTTP servers will be started on port `30043` by default. You can change the port or host via environment variables:\n\n    * `TANX_PORT=30043`\n    * `TANX_HOST='0.0.0.0'`\n\n## usage\n\n1. Fork the [tanx client](https://playcanvas.com/project/45093/overview/tanx) project.\n2. From your fork's page, click the __Code__ nav link to open `client.js` in the PlayCanvas code editor (you should be at `https://playcanvas.com/editor/code/\u003cid-of-your-fork\u003e/client.js`).\n3. Find the line that reads `var socket = … = new Socket` and change the `url` like so:\n\n        http://localhost:30043/socket\n\n4. Play your fork!\n\n## changelog\n\n##### v1.3.0 (16.02.15)\n* added teams - 4 of [blue, red, green yellow] colours\n* added scores - teams and players have score\n* added end game scenario - first team to reach 32 kills\n* added lobby and rooms - each room can handle up to 16 players, then new room will be created\n\n##### v1.2.1 (10.02.15)\n* added pickables: repair, bullets, shield\n\n##### v1.1.0 (09.02.15)\n* added Block object\n* added tank-level collision\n* added bullet-level collision\n* merged [@cvan](https://github.com/cvan) pull request: [allow host/port to be changed via environment variables; update README with verbose instructions](https://github.com/Maksims/tanx/commit/837c2f34588b4060d8112afe3002dc1d7fabc77e)\n* merged [@cvan](https://github.com/cvan) pull request: [code linting](https://github.com/Maksims/tanx/commit/f28b6c3259ed82f962957fd2f531cf916bbc6638)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvan%2Ftanx-1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcvan%2Ftanx-1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvan%2Ftanx-1/lists"}