Skip to main content

Overview

Elemental Battlecards features six distinct card types, each representing a different elemental force. Understanding the type advantage system is crucial for winning battles.

The Six Card Types

Fire (Fuego)

Fire cards burn through Plant defenses with devastating effectiveness.

Water (Agua)

Water cards extinguish Fire and overwhelm with fluid power.

Plant (Planta)

Plant cards absorb Water and grow stronger from its energy.

Light (Luz)

Light cards pierce through Shadow with radiant force.

Shadow (Sombra)

Shadow cards consume Spirit energy and grow from darkness.

Spirit (Espíritu)

Spirit cards cleanse Light and restore balance.

Type Advantage System

The type advantage system forms a circular hierarchy where each type is strong against one type and weak against another.

Physical Elements Cycle

Fire → Plant → Water → Fire
  • Fire beats Plant
  • Plant beats Water
  • Water beats Fire

Mystical Elements Cycle

Light → Shadow → Spirit → Light
  • Light beats Shadow
  • Shadow beats Spirit
  • Spirit beats Light
The two cycles are independent - physical elements don’t have type advantages against mystical elements and vice versa.

Implementation

The type system is defined in the game constants:
// From Frontend/src/helpers/constants.js

export const CARD_TYPES = {
    FUEGO: 'fuego',      // Fire
    AGUA: 'agua',        // Water
    PLANTA: 'planta',    // Plant
    LUZ: 'luz',          // Light
    SOMBRA: 'sombra',    // Shadow
    ESPIRITU: 'espiritu' // Spirit
};

export const ADVANTAGES = {
    [CARD_TYPES.FUEGO]: CARD_TYPES.PLANTA,      // Fire beats Plant
    [CARD_TYPES.PLANTA]: CARD_TYPES.AGUA,       // Plant beats Water
    [CARD_TYPES.AGUA]: CARD_TYPES.FUEGO,        // Water beats Fire
    [CARD_TYPES.LUZ]: CARD_TYPES.SOMBRA,        // Light beats Shadow
    [CARD_TYPES.SOMBRA]: CARD_TYPES.ESPIRITU,   // Shadow beats Spirit
    [CARD_TYPES.ESPIRITU]: CARD_TYPES.LUZ       // Spirit beats Light
};

Card Levels

Each card type exists in three levels:
Base cards with standard power. These are the foundation of your deck.Examples:
  • fuego-1
  • agua-1
  • planta-1
  • luz-1
  • sombra-1
  • espiritu-1

Card Structure

Every card in the game follows this structure:
// From Frontend/src/game_objects/card-definitions.js

'fuego-1': {
    id: 'fuego-1',
    type: CardTypes.FUEGO,
    level: 1,
},
'fuego-2': {
    id: 'fuego-2',
    type: CardTypes.FUEGO,
    level: 2,
},
'fuego-3': {
    id: 'fuego-3',
    type: CardTypes.FUEGO,
    level: 3,
}
Level 3 cards cannot be fused further. Attempting to fuse a Level 3 card will fail.

Strategic Considerations

  • Type matching is essential when both cards are the same level
  • Level advantage can overcome type disadvantages (see Combat System)
  • Fusion allows you to create higher-level cards for greater power (see Fusion)
  • Collecting all 6 unique types is one of the winning conditions

Build docs developers (and LLMs) love