A fully playable browser-based implementation of the Orlog dice game from Assassin's Creed Valhalla, built with React.
Orlog is a strategic dice game where two players compete to reduce their opponent's health to zero through tactical dice rolls and divine blessings.
- Health Points: Each player starts with 15 HP
- Dice: 6 dice per turn with 6 distinct faces:
- ⚔️ Axe: Deals 1 damage, blocked ONLY by Shield
- 🏹 Arrow: Deals 1 damage, blocked ONLY by Helmet
- 🛡️ Shield: Blocks 1 Axe (cannot block Arrows)
- 🪖 Helmet: Blocks 1 Arrow (cannot block Axes)
- ✋ Hand: Steals 1 God Token from opponent
♦️ Token: Grants 1 God Token
- Gold Borders: Some dice have gold borders, granting +1 bonus token
- Rerolls: Up to 3 rerolls per turn
- Tokens: Used to activate powerful Gods' Favors
- Thor's Strike (4 tokens): Deal 2 direct damage (ignores defense)
- Idun's Rejuvenation (3 tokens): Heal 3 HP
- Ullr's Aim (2 tokens): Gain an additional reroll
- Heimdall's Watch (3 tokens): Add 2 shields and 2 helmets for defense
- Bragi's Gift (1 token): Gain 2 extra tokens
- Frigg's Sight (5 tokens): Deal 3 damage and heal 2 HP
- Node.js 16+ and npm installed
- Navigate to the game directory:
cd orlog-game- Install dependencies:
npm install- Start the development server:
npm run dev- Open your browser to
http://localhost:3000
npm run buildThe optimized build will be in the dist/ folder.
-
Roll Phase
- Click "Roll Dice" to start your turn
- Select any dice you want to reroll
- Click "Reroll Selected" (up to 3 times)
-
Strategy Phase
- Use Gods' Favors if you have enough tokens
- Consider your opponent's dice when planning
- Gold-bordered dice grant bonus tokens!
-
Resolution (Following AC Valhalla rules)
- Step 1: Token Gain - Collect tokens (including gold bonuses)
- Step 2: Hand Resolution - Hands steal tokens from opponent
- Step 3: Defense Assignment
- Shields ONLY block Axes
- Helmets ONLY block Arrows
- No cross-blocking!
- Step 4: Damage Resolution - Unblocked attacks deal damage
-
Victory
- First player to reduce opponent HP to 0 wins!
The AI makes strategic decisions based on:
- Current health differentials
- Attack/defense balance
- Token management
- Optimal blessing usage
- Tactical rerolls
- ✅ Full game mechanics from AC Valhalla
- ✅ Intelligent AI opponent
- ✅ Smooth dice roll animations
- ✅ Health and damage visual effects
- ✅ Token/blessing system
- ✅ Victory screen with stats
- ✅ Responsive design (mobile-friendly)
- ✅ Medieval-themed UI with custom fonts
- Frontend: React 18
- Build Tool: Vite
- Styling: Pure CSS with animations
- Fonts: Google Fonts (MedievalSharp, Cinzel)
orlog-game/
├── src/
│ ├── components/
│ │ ├── Dice.jsx # Dice component
│ │ ├── Player.jsx # Player info display
│ │ ├── BlessingPanel.jsx # Blessings UI
│ │ └── VictoryScreen.jsx # End game screen
│ ├── gameLogic.js # Core game mechanics
│ ├── App.jsx # Main game component
│ ├── App.css # Game styles
│ ├── index.css # Global styles
│ └── main.jsx # Entry point
├── index.html
├── package.json
└── vite.config.js
Example Combat:
- Player: 3 Axes (⚔️), 2 Arrows (🏹)
- Opponent: 2 Shields (🛡️), 1 Helmet (🪖)
Resolution:
- Axes: 3 - 2 shields = 1 damage
- Arrows: 2 - 1 helmet = 1 damage
- Total: 2 damage
- ❌ Shields CANNOT block Arrows
- ❌ Helmets CANNOT block Axes
- ✅ Each defense type only blocks its corresponding attack
- ✅ Hands (✋) steal tokens during resolution
- ✅ Gold-bordered dice grant +1 bonus token
- Each
♦️ rolled = 1 token - Gold-bordered dice = +1 bonus token
- Tokens persist across rounds
- Hands steal tokens from opponent
- Spend wisely on Gods' Favors!
Potential additions:
- Multiple AI difficulty levels
- Online multiplayer
- Custom dice probabilities
- Sound effects and music
- Additional blessing types
- Tournament mode
- Leaderboard system
- Dice roll physics with 3D animations
This is a fan-made recreation for educational purposes. Orlog and Assassin's Creed are trademarks of Ubisoft.
- Original game design by Ubisoft
- Implementation by [Your Name]
- Inspired by Assassin's Creed Valhalla
May the gods favor you in battle! ⚔️