Clash Royale Clone ๐Ÿฐโš”๏ธ is a single-player strategy game built in Python with pygame, faithfully recreating the core loop of the mobile hit Clash Royale.

The Arena ๐ŸŒฟ The battlefield is an 800ร—600 grass arena split into two halves by a river running across the middle ๐ŸŒŠ. The river is impassable except at two bridges — one on the left side and one on the right — forcing ground troops to funnel through chokepoints just like in the real game. Flying units (Minions) ignore this entirely and soar straight to their targets ๐Ÿชฝ.

Towers ๐Ÿ—ผ Each side has three towers: two Princess Towers flanking the sides, and one King Tower in the center back ๐Ÿ‘‘. Princess Towers are always active and will automatically shoot at any enemy that wanders into range. The King Tower starts dormant and only wakes up once one of your Princess Towers is destroyed — at which point it joins the fight with greater health and damage ๐Ÿ’ช. Destroy the enemy King Tower to win instantly โœจ. If time runs out, the side with more towers standing wins ๐Ÿ†.

Cards & Elixir โšก You have a rotating deck of 8 cards, with 4 in your hand at any time. Playing a card cycles the next one in automatically. Each card costs elixir — a resource that regenerates passively over time โณ. You start with 5 elixir, cap at 10, and must spend wisely ๐Ÿง . With 60 seconds left on the clock, double elixir kicks in โšกโšก, doubling your regeneration rate and turning the endgame into a frantic final push ๐Ÿ”ฅ.

The 8 cards are:

  • ๐Ÿ—ก๏ธ Knight — a sturdy melee fighter, great all-rounder
  • ๐Ÿน Archers — a ranged pair, fragile but good at picking off air and ground
  • ๐Ÿฆ Giant — a massive tank that ignores troops and walks straight for buildings
  • ๐Ÿ’ฃ Fireball — an instant area-damage spell, excellent for clearing clumps or chunking towers
  • ๐Ÿ”ซ Musketeer — a long-range single-target shooter with solid damage
  • ๐ŸŒ€ Valkyrie — a melee splash fighter that spins and damages everything around her
  • ๐Ÿ˜ˆ Minions — a trio of flying units that bypass the river and dive straight at targets
  • โš™๏ธ Mini P.E.K.K.A — slow to attack but hits like a truck

AI Opponent ๐Ÿค– The enemy AI manages its own elixir and deck, thinks every 0.8โ€“1.6 seconds, and adapts to what you're doing ๐Ÿ‘€. It detects when you're pushing hard down a lane and responds with defensive troops ๐Ÿ›ก๏ธ. When it has enough elixir, it launches its own Giant-led pushes ๐Ÿฆโžก๏ธ. It will also throw Fireballs at your troop clusters or at your towers when the opportunity arises ๐Ÿ’ฅ. It's not unbeatable, but it keeps steady pressure throughout the match ๐Ÿ˜ค.

Combat โš”๏ธ Ranged units fire projectiles that travel to their target in real time ๐ŸŽฏ. Melee units close the distance and swing on a cooldown โฑ๏ธ. Splash units like Valkyrie and Fireball damage everything in a radius simultaneously ๐Ÿ’ฅ. Units prioritise attacking enemy troops first, then fall back to targeting towers ๐Ÿ—ผ. Giants are the exception — they always go for buildings ๐Ÿ—๏ธ. Towers auto-target the nearest enemy in range and fire projectiles of their own ๐Ÿ”’.

How to Play ๐ŸŽฎ Click a card in the bottom panel to select it, then click anywhere on your half of the arena to place it ๐Ÿ–ฑ๏ธ. Spells like Fireball can be placed anywhere on the map ๐Ÿ—บ๏ธ. Press ESC to cancel a selection ๐Ÿšซ, and R to restart after a match ends ๐Ÿ”„. Good luck — and may your elixir always be full! ๐Ÿ’œ

Leave a comment

Log in with itch.io to leave a comment.