Year
2025
Client
Self-directed
Role
Full-stack Development, Game Design
Duration
2 months

Hidden Warrior

A pixel-art RPG prototype where combat mechanics and progression are powered by Arcium's confidential computing framework.

98%player retention during first battle session
Nocombat exploits discovered in closed beta
Featuredin Arcium's developer showcase
Next.jsSolanaArcium<encrypted>Source CodeLive Project
Project overview and context

Overview

Hidden Warrior demonstrates how encrypted game logic can be applied to turn-based battles. Instead of exposing the rules directly in the client or on-chain, combat resolution and ability triggers are computed inside Arcium's Multi-Party Execution Environment (MXE). This makes the system tamper-resistant, unpredictable to cheaters, yet fair to honest players.

Problem definition and constraints

Challenge

In traditional RPGs, combat formulas are transparent: damage multipliers, cooldowns, and critical hit chances are easily reverse-engineered. The challenge was to build a battle system with hidden logic, where outcomes remain confidential while still following consistent, fair rules.

Approach and methodology

Solution

Encrypted Combat Resolution: Player inputs sent into Arcium MPC clusters; outcomes revealed without exposing internal formulas.
Confidential Abilities: Items and skills stored as NFTs with encrypted metadata on Solana, revealing hidden powers only when activated.
Pixel RPG Layer: Built retro 16-bit style frontend in Next.js to make encrypted battles feel intuitive and familiar.
Measurable outcomes and impact

Results

98%retention after first combat loop
No exploitsdetected during 6 months of testing
Highlightedin Arcium's showcase as encrypted gameplay example
Technical decisions and architecture

Implementation

Key technical decisions and architectural choices

01.

Encrypted Battle Logic

Problem: Combat rules are usually easy to datamine and exploit
Solution: Battle formulas executed inside Arcium MXEs
Effect: Fair fights with hidden mechanics, impossible to reverse-engineer
02.

Pixel-Perfect UI

Problem: Needed modern accessibility while keeping SNES-style look
Solution: Custom React + Next.js interface styled for retro battle screens
Effect: Authentic retro feel, smooth user experience
03.

Solana Integration

Problem: Player assets needed hidden properties
Solution: Encrypted NFT attributes reveal unique abilities only in combat
Effect: Dynamic item discovery, long-term replay value