Finera

Play to win on Linera

Visit

About

## Wave 1 submission

Main idea Validtation Idea Uniqueness and product viabilty check Ui mockup Smart contract basic implementation verified randomness testing Spec + repo + Linera SDK skeleton; design match microchain state and message API.

## Wave 2 submission

Build all applications successfully Deploy with updated script including `--required-application-ids` Create two player chains Join matchmaking queue Create and confirm battle offer

## Wave 3 submission

Architecture Restructuring: From 6 Separate Applications to Unified Contract: Analyzed diccy-main's 6-application approach (battle-chain, player-chain, matchmaking-chain, prediction-chain, registry-chain, battle-token) and restructured into a single unified contract with enum-based routing for better scalability and reduced complexity

Modular Contract Design: Implemented proper separation of concerns with centralized instantiation in main contract.rs lobby_contract.rs - handles matchmaking, battle creation, player chain management

player_contract.rs - manages character NFTs, sends authoritative data to lobby

battle_contract.rs - executes turn-based combat with immediate resolution

Chain Ownership Model: Redesigned flow where lobby chain owns and creates player chains, enabling proper cross-chain communication and preventing unauthorized access while maintaining user control over their characters

Core Implementation:

Turn-Based Combat System: Real-time battle mechanics where Player 1 submits turn → Player 2 submits turn → automatic turn execution, with double-submission prevention using turn_submissions map and 3-round batch processing requiring both players to call ExecuteRound

Cross-Chain Messaging Architecture: Battle chains communicate results to lobby chains, which forward updates to player chains (since lobby owns player chains), enabling proper stat tracking and leaderboard updates without direct player chain queries

Character NFT System: Complete character management with 5 classes (Warrior, Assassin, Mage, Tank, Trickster), leveling system, and combat stats including HP, damage, crit chance, dodge, and special abilities with proper state conversion between majorules:: and state:: types

Technical Stack:

Unified State Management: Comprehensive state.rs with all game states (LobbyState, BattleState, PlayerState, PredictionState) and supporting types, replacing the fragmented state across 6 separate applications

Combat Engine: Deterministic battle system with stance-based combat (Balanced, Aggressive, Defensive, Berserker, Counter), combo stacks, special abilities, and fixed-point math for precise damage calculations using custom random module

Multi-Variant Contract: Single contract with ChainVariant enum routing that instantiates appropriate state based on chain type and delegates operations to correct modules, eliminating the need for separate application deployments

Deliverables:

Complete Restructured Architecture: Transformed complex 6-application system into clean modular design with proper chain ownership, cross-chain messaging, and unified contract deployment Battle Mechanics Implementation: Implements exact specification - individual turns execute when both players submit, 3-round execution only when both players call it, preventing griefing and ensuring fair gameplay lobby-mediated player chain updates Scalable Foundation: Modular architecture supports easy addition of prediction markets and other game features

Prizes

  • Wave 1 grant · 109.25 USDC

From the public Akindo product page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

No public repo linked, so we can't tell.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.