Sure! Here's a possible implementation of the game you described as a single HTML file with JavaScript enclosed in script tags:
Card Battle Game
Cost: 1
Summon: 10 Melee Soldiers
Cost: 2
Summon: 10 Archers
Cost: 3
Summon: 10 Shieldbearers
Cost: 4
Summon: 10 Wizards
Cost: 5
Summon: 1 God
Your Castle
1000 HP
Opponent's Castle
1000 HP
Please note that the URLs for the card images (`src="emozi_all/card.png"`) should be replaced with the actual URLs of the card images you want to use. Also, this code only provides a basic structure for the game and some placeholder logic. You'll need to add the actual gameplay mechanics and visuals according to your requirements.