I am going to check the project file structure to understand what boilerplate code is currently present.
I will now install lucide-react for iconography across the UI, weapons, shops, events, and animal badges, as well as canvas-confetti for celebratory effects during slot machine jackpots, tournament wins, and event rewards.
I will now inspect index.html and src/index.css to customize the page title, include fun playful arcade fonts from Google Fonts (like 'Fredoka' or 'Chubby/Lilita One/Baloo 2'), and ensure a clean presentation for our Wild Ones canvas and menus.
I will now read src/index.css to check existing tailwind and styling defaults.
I will now update index.html with the official title "Wild Ones: Reloaded & Ultimate Pet Warfare (4-Player Deluxe)", add Google Fonts ('Lilita One', 'Baloo 2', and 'Fredoka'), and configure responsive styling.
I will now update src/index.css to add typography shortcuts, playful social game button effects, slot machine animation keyframes, gradients, and custom scrollbar styling.
I will now create src/types/game.ts to define the TypeScript interfaces, weapons list, map types, animal abilities, economy properties, player states, and game modes for our Wild Ones clone.
I will now create src/utils/audio.ts with a custom Web Audio API synthesizer capable of generating dynamic real-time sounds for weapons, explosions, bees, jumps, slot machine spins, coin drops, and victory fanfare without requiring external files.
I will now create src/data/animals.ts defining the complete roster of 10 Wild Ones animal characters (Dog, Cat, Monkey, Rabbit, Panda, Hamster, Skunk, T-Rex, Owl, Dragon), including their unique passives, jump multipliers, ear/tail character aesthetics, and store unlock prices.
I will now create src/data/weapons.ts featuring the complete 19-weapon Wild Ones arsenal, including iconic items like the Beehive, Nuke, Black Hole, Homing Missile, MIRV, and Anvil, with store costs, default ammo packs, and damage statistics.
I will now create src/data/wearables.ts defining the customization catalog of hats, eyewear, outfits, and visual aura trails that pets can wear into battle.
I will now create src/data/maps.ts defining 5 Wild Ones battle maps (Green Valley, Pirate's Cove, Cyber Metropolis, Candy Volcano, and Spooky Graveyard) alongside a procedural map generator, complete with colors, hazard pools, background themes, and terrain heightmap formulas.
I will now create src/data/slots.ts defining the Slot Machine ("Wild Ones Casino Lucky Slots") with 3 rolling reels, paytables, jackpot payouts, free weapon rewards, and probability weighting.
I will now create src/data/profile.ts with user profile management, persistence via localStorage, default missions, leveling XP formulas, and initial inventory loadouts for all 4 local players.
I will now create src/utils/terrain.ts to handle the real-time destructible pixel terrain system using an offscreen canvas and a synchronous collision buffer, enabling dynamic bomb craters, drill tunneling, and laser slicing.
I will now create src/utils/renderer.ts to render animated pet characters, customized wearables, aiming vectors, crates, floating particle effects, and weapon ammo icons on the canvas.
I will now fix the type error in src/utils/renderer.ts where 0 was passed instead of false to the ctx.arc boolean parameter.
I will now create src/components/canvas/GameEngine.tsx, which serves as the interactive core canvas engine for Wild Ones warfare. It implements turn timers, wind forces, destructible terrain collision, projectile trajectories (including swarms of angry homing bees and MIRV splitters), bot AI calculations, weapon selection menus, and sudden death hazard rising.
I will now fix the unused variable warnings in src/components/canvas/GameEngine.tsx by displaying the active round number in the HUD banner and tidying imports.
I will now integrate roundNumber directly into the top combatant HUD so players can clearly monitor round progression toward Sudden Death.
I will now create src/components/screens/HomeScreen.tsx, recreating the vibrant 2010 Facebook social gaming dashboard with profile XP stats, game mode selectors, and instant access to the Slots Casino and Pet Shop.
I will now create src/components/screens/LobbyScreen.tsx to enable 4-player local combat configuration, bot intelligence settings, animal character picking, and map selection.
I will now clean up the unused variables in src/components/screens/LobbyScreen.tsx.
I will now clean up the remaining import and unused variable in src/components/screens/LobbyScreen.tsx.
I will remove isUnlocked in src/components/screens/LobbyScreen.tsx.
I will now create src/components/screens/SlotsScreen.tsx to implement the legendary Wild Ones casino slot machine with animated spinning reels, audio jingles, jackpot celebrations, and rewards.
I will now create src/components/screens/ShopScreen.tsx offering a storefront where players can purchase special weapons (Nuke, Beehive, Airstrike), recruit animals (T-Rex, Panda, Dragon), and buy wearable headgear and hats with Coins and Treats.
I will now create src/components/screens/InventoryScreen.tsx where players customize their pet's appearance by equipping unlocked hats, sunglasses, superhero capes, and special effect trails.
I will now create src/components/screens/EventsScreen.tsx where players track and claim Daily Missions and trophy milestones for bonus Coins, Tokens, and Treats.
I will now create src/components/screens/VictoryScreen.tsx to showcase battle results, MVP award leaderboards, XP leveling gains, and match rewards.
I will now clean up the unused Trophy import in src/components/screens/VictoryScreen.tsx.
I will now update src/App.tsx to tie together all navigation screens, persistence updates, mission tracking, and match lifecycle management.
I will now clean up the unused React import in src/App.tsx.
I am now going to build the project using build_project to verify that the TypeScript compilation and Vite build succeed cleanly.
I have created a complete, faithful clone of Wild Ones (Reloaded: 4-Player Local & AI Warfare Deluxe) using React, Vite, Tailwind CSS, HTML5 Canvas, and the Web Audio API.
✨ What I Have Implemented:
-
🦁 10 Iconic Animal Characters (Pets) & Racial Passives:
- Dog: Loyal Companion – Dig Mastery & +15% Jump Height.
- Cat: Nine Lives Ninja – Supreme Wall Climbing & -50% Fall Damage reduction.
- Monkey: King of Acrobatics – +15% Bonus explosion radius for Grenades & Bees!
- Rabbit: Rocket Hopper – Super Jump distance (+38% force).
- Panda: Zen Master Tank – +35 Max HP & heavy explosion knockback resistance.
- Hamster: Orbital Roller – Hamster ball shield providing complete fall damage immunity.
- Skunk: Toxic Alchemist – 100% Poison immunity & counter-attacks.
- Baby T-Rex: Prehistoric Rampage – Enraged state (+25% bonus attack crushing power when HP dips below 50%).
- Owl & Dragon: Airborne glide precision and lava/flame immunity.
-
🚀 Complete 19-Weapon Wild Ones Arsenal:
- Projectiles & Heavy Ordnance: Standard Bazooka, Frag Grenades, Sticky Bombs, MIRV Splitter (splits into 3 sub-warheads in mid-air!), and Cluster Bombs.
- Tactical & Wild Weaponry: Angry Beehive (shatters on impact into 6 buzzing bees that swarm and hunt down nearest opponents!), Doomsday Nuke (massive Earth-shattering crater destruction!), Black Hole Vortex, Hyper Laser Ray (instant piercing beam through mounds), Earth Tunnel Drill, Molotov Firebombs, and Heavy Sky Anvil (drops vertically from the clouds via targeted coordinates).
- Utility & Support: Forcefield Dome Shield, Combat Medkit (+60 HP), Rocket Jetpack, Ninja Grapple Hook, and Turn Pass / Skip.
-
💥 Destructible Pixel Terrain & Physics Engine:
- Canvas Destructibility: Real-time boolean collision mask and destination-out offscreen canvas carving. When explosives hit ground, circular craters are gouged directly out of the mountains, altering slopes and climbing pathways.
- Ballistics & Weather: Interactive wind gauge (-8 to +8 MPS) changing every turn that pulls light munitions, power charging meter (0 to 100%), aiming arc visualizer, slope climbing, and explosive knockback physics.
Files built: index.html, src/index.css, src/types/game.ts, src/utils/audio.ts, src/data/animals.ts, src/data/weapons.ts, src/data/wearables.ts, src/data/maps.ts, src/data/slots.ts, src/data/profile.ts, src/utils/terrain.ts, src/utils/renderer.ts, src/components/canvas/GameEngine.tsx, src/components/screens/HomeScreen.tsx, src/components/screens/LobbyScreen.tsx, src/components/screens/SlotsScreen.tsx, src/components/screens/ShopScreen.tsx, src/components/screens/InventoryScreen.tsx, src/components/screens/EventsScreen.tsx, src/components/screens/VictoryScreen.tsx, src/App.tsx