{"id":28221261,"url":"https://github.com/griffio/tank-game-vscode","last_synced_at":"2025-06-10T11:31:18.236Z","repository":{"id":292916758,"uuid":"982363579","full_name":"griffio/tank-game-vscode","owner":"griffio","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-13T11:20:11.000Z","size":4993,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-21T15:04:30.426Z","etag":null,"topics":["copilot","game","javascript","vibe-coding"],"latest_commit_sha":null,"homepage":"https://griffio.github.io/tank-game-vscode/index.html","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/griffio.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,"zenodo":null}},"created_at":"2025-05-12T19:12:40.000Z","updated_at":"2025-05-13T11:20:14.000Z","dependencies_parsed_at":"2025-05-12T20:34:45.593Z","dependency_job_id":"6ccca0d7-7242-47ec-9bd1-705d819adfab","html_url":"https://github.com/griffio/tank-game-vscode","commit_stats":null,"previous_names":["griffio/tank-game-vscode"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griffio%2Ftank-game-vscode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griffio%2Ftank-game-vscode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griffio%2Ftank-game-vscode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griffio%2Ftank-game-vscode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/griffio","download_url":"https://codeload.github.com/griffio/tank-game-vscode/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griffio%2Ftank-game-vscode/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259066682,"owners_count":22800181,"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":["copilot","game","javascript","vibe-coding"],"created_at":"2025-05-18T05:16:11.574Z","updated_at":"2025-06-10T11:31:18.226Z","avatar_url":"https://github.com/griffio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tank Game VSCode CoPilot\n\n## Prompt\n\nCreate a game using plain html/css and javascript\nScenerio\nA top-down 2D single-player tank battle game with retro 8-bit graphics.\nThe assets folder contains a tank sprite with a tank body and tank turret\nThe turrent should rotate\nW, A, S, D: Move the tank\nMouse: Aim the tank's turret\n\nLeft Click: Fire Armor Piercing (AP) ammo\nRight Click: Fire High Explosive (HE) ammo\n\nThe tile assets are the game map - this should be a scrollable map area\n\nThe tank should use simple physics to accelerate and stop\n\n![Tank Game Preview](tank.gif)\n\nA 2D tank game with realistic tracked vehicle physics implemented in JavaScript.\n\n## Features\n\n- Realistic tracked vehicle physics\n- Separate handling of longitudinal and lateral forces\n- Dynamic turning behavior based on vehicle speed\n- Particle effects for muzzle flash\n- Multiple ammo types (AP and HE)\n\n## Vehicle Physics\n\nThe tank implements realistic tracked vehicle physics with:\n\n- **Longitudinal Forces**: Engine force and friction in the direction of movement\n- **Lateral Forces**: Side friction to prevent unrealistic sliding\n- **Speed-dependent Turning**: Turn rate varies with vehicle speed\n- **Angular Momentum**: Smooth rotation transitions with proper angular velocity\n\n### Physics Parameters\n\n```javascript\n{\n    maxSpeed: 5,\n    engineForce: 0.4,\n    friction: 0.98,\n    turnFriction: 0.95,\n    lateralFriction: 0.85,\n    maxAngularVelocity: 2\n}\n```\n\n## Controls\n\n- **W/S**: Forward/Reverse\n- **A/D**: Turn left/right\n- **Left Click**: Fire AP round\n- **Right Click**: Fire HE round\n- **Mouse**: Aim turret\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgriffio%2Ftank-game-vscode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgriffio%2Ftank-game-vscode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgriffio%2Ftank-game-vscode/lists"}