{"id":28221273,"url":"https://github.com/griffio/tank-game","last_synced_at":"2025-06-10T11:31:20.111Z","repository":{"id":292555364,"uuid":"981256646","full_name":"griffio/tank-game","owner":"griffio","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-10T18:24:44.000Z","size":1272,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-18T05:16:30.540Z","etag":null,"topics":["javascript-game","junie","vibe-coding"],"latest_commit_sha":null,"homepage":"https://griffio.github.io/tank-game/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-10T17:31:39.000Z","updated_at":"2025-05-10T18:25:25.000Z","dependencies_parsed_at":"2025-05-10T18:41:05.374Z","dependency_job_id":null,"html_url":"https://github.com/griffio/tank-game","commit_stats":null,"previous_names":["griffio/tank-game"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griffio%2Ftank-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griffio%2Ftank-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griffio%2Ftank-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griffio%2Ftank-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/griffio","download_url":"https://codeload.github.com/griffio/tank-game/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/griffio%2Ftank-game/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259066695,"owners_count":22800184,"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":["javascript-game","junie","vibe-coding"],"created_at":"2025-05-18T05:16:16.650Z","updated_at":"2025-06-10T11:31:20.103Z","avatar_url":"https://github.com/griffio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Created by JetBrains Junie\n\n```text\nCreate a single player tank battle game using Javascript/Html/Css and 2d canvas \n\nThe game has the following features\nTop down 2d\nSingle Player\nDifferent terrains - desert , cactus, water\n\nTwo different ammo types - armor piercing and high explosive\nUse Particle effects for bullets\nGraphic style is 8 bit graphics\n\nThe tank has to avoid being destroyed by automated turrets that will target the tank if within a diameter\n```\n\n# Tank Battle\n\nA top-down 2D single-player tank battle game with retro 8-bit graphics.\n\n## Game Description\n\nTank Battle is an action-packed tank combat game where you control a tank and battle against enemy turrets and tanks.\nNavigate through a terrain of desert, cactus, and water while collecting ammo power-ups and destroying enemy targets.\n\n## Features\n\n- Top-down 2D gameplay with retro 8-bit graphics\n- 5 progressively challenging levels\n- Different terrain types (desert, cactus, water)\n- Two ammo types: Armor Piercing (AP) and High Explosive (HE)\n- Wave-based enemy tank system\n- Fixed position enemy turrets\n- Particle effects for bullets and explosions\n- Power-up system for ammo replenishment\n- Scrolling camera to navigate a large game world\n- Sound effects for different weapons and actions\n\n## Controls\n\n- **W, A, S, D**: Move the tank\n- **Mouse**: Aim the tank's turret\n- **Left Click**: Fire Armor Piercing (AP) ammo\n- **Right Click**: Fire High Explosive (HE) ammo\n\n## Gameplay\n\n### Objective\nYour mission is to destroy all enemy turrets in each level to progress. The game consists of 5 levels, with each level increasing in difficulty.\n\n### Enemies\n- **Stationary Turrets**: These are fixed position turrets that will target and fire at your tank if you come within their detection radius. Each level increases their size, range, and damage by 10%.\n- **Enemy Tanks**: These appear in waves (starting with one, then two, then three) and move across the map. They will target and fire at your tank if you're within range.\n\n### Ammo Types\n- **Armor Piercing (AP)**: Standard ammo with slightly longer range but less damage, effective against all targets.\n- **High Explosive (HE)**: Special ammo with 30% more damage but 30% less range, creating more particles on impact.\n\n### Power-ups\nAmmo power-ups will spawn when your ammo levels reach half capacity:\n- **AP Power-up**: Replenishes 5 Armor Piercing ammo\n- **HE Power-up**: Replenishes 3 High Explosive ammo\n\n### Terrain\n- **Desert**: Basic terrain, fully traversable\n- **Cactus**: Decorative terrain on desert, fully traversable\n- **Water**: Obstacle terrain, cannot be traversed\n\n## Technical Details\n\nThe game is built using:\n- HTML5 Canvas for rendering\n- JavaScript for game logic\n- CSS for styling\n\nThe game features:\n- Collision detection system\n- Particle system for visual effects\n- Wave-based enemy spawning\n- Level progression system\n- Camera/viewport system for a larger game world\n\n## Installation and Running\n\n1. Clone the repository:\n```\ngit clone https://github.com/yourusername/tank-game.git\n```\n\n2. Navigate to the project directory:\n```\ncd tank-game\n```\n\n3. Open `index.html` in your web browser to play the game.\n\nNo additional dependencies or build steps are required.\n\n## Development\n\nThe game's code is organized as follows:\n- `index.html`: Main HTML file\n- `styles.css`: CSS styling\n- `index.js`: Game logic and rendering\n- `assets/`: Directory containing sound effects\n\n## Credits\n\n- Game Design \u0026 Development: [Your Name]\n- Sound Effects: \n  - tank-shot.wav\n  - tank-shot-he.wav\n  - turret-shot.wav\n  - explosion.wav\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgriffio%2Ftank-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgriffio%2Ftank-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgriffio%2Ftank-game/lists"}