a Local, Hotseat, 1v1 Battle Dice Game
A tactical dice-based combat game created with LÖVE (Love2D) framework.
You can download the builds here: https://thebrandonwu.itch.io/die-die-dice
open -n -a love .
or
love .
- LÖVE (Love2D) framework
- 2 players start at opposite corners of a hexagonal grid
- Each player begins with 21 HP
- Board contains three tile types:
- Normal tiles (gray)
- Attack tiles (red) - 50% damage bonus
- Defense tiles (green) - 50% defense bonus
- Hearts spawn randomly on the board for healing
-
Dice Rolling Phase
- Press SPACE to roll three dice
- Each die shows a value from 1 to 6
-
Dice Assignment Phase
- Drag each die to one of three slots:
- Movement (M)
- Attack (A)
- Defense (D)
- Each slot must receive exactly one die
- Values cannot be changed after assignment
- Drag each die to one of three slots:
-
Movement Phase
- Move up to the number of hexes shown on Movement die
- Valid moves are highlighted in yellow
- Can only move to adjacent hexes
- Cannot move through or onto opponent's position
- Click Reset button to return to starting position
- Click Finish button when done moving
-
Initiating Combat
- Combat triggers automatically when ending movement adjacent to opponent
- Attacker uses their Attack die value
- Defender uses their Defense die value
-
Damage Calculation
- Base damage = Attack value
- Base defense = Defense value
- Attack tiles provide 50% damage bonus
- Defense tiles provide 50% defense bonus
- Final damage = (Attack ± bonus) - (Defense ± bonus)
- Minimum damage is 0
-
Combat Feedback
- Red line shows attack direction
- Damage number appears above defender
- Combat log shows detailed calculations
- Logs persist until player's next combat
-
Triggering Pickup
- Move onto a heart tile
- Takes priority over combat
- Automatically rolls healing die
-
Healing
- Healing amount = Die roll + 3
- New heart spawns after pickup
- Maximum 2 hearts on board
- Game ends when a player's HP reaches 0
- Winner is the last player with HP remaining
- Press SPACE to start new game
- Last turn's dice values (M/A/D) are shown below player HP
- Combat and healing effects must complete before turn changes
- Players can see both combat logs simultaneously
- Each player's combat log stays on their side of the screen