Eternal Flow

Eternal Flow — an infinite roguelike on Flow EVM where tokens fuel risk, strategy, and survival.

Eternal Flow

Created At

ETHGlobal New Delhi

Project Description

Eternal Flow is a blockchain-powered roguelike built on Flow EVM Testnet. Players pay a token entry cost to begin an endless run through procedurally generated maps. Each map offers new challenges — from mining and combat to logging and trading — with difficulty scaling as players progress.

Every choice matters: inventory slots are limited, repeated purchases cost more through anti-repeat pricing, and merchant upgrades offer lasting advantages. Runs can continue infinitely until the player loses all health, at which point their entry is gone. Survive longer, strategize smarter, and earn greater rewards.

Key highlights:

Endless Procedural Maps: No two runs are the same, powered by VRF randomness. Token-Backed Risk/Reward: Runs begin with an entry cost; survival defines payouts Dynamic Economy: Loadout prices rise with repeat purchases, encouraging variety. Accessible by Design: Full keyboard play, screen reader support, mobile-friendly UI.

Eternal Flow shows how Web3 mechanics can enhance traditional roguelike gameplay, delivering endless replayability on a fast, low-cost blockchain

How it's Made

We built Eternal Flow by combining a Next.js + TypeScript frontend with a Phaser 3 game engine. The React UI and Phaser gameplay talk to each other through a type-safe event bus, which let us keep the code modular while still reacting instantly to in-game events. Tailwind CSS gave us quick, responsive, and accessible styling, and Privy made wallet authentication smooth so we could focus on the game itself.

On-chain, we deployed seven Solidity contracts to Flow EVM Testnet. These manage the entry system, health, progression, marketplace with anti-repeat pricing, and VRF-powered procedural map generation. To make blockchain interactions feel seamless, we built a TransactionQueue that batches and retries calls, showing optimistic results to players and reconciling once transactions finalize.

What we learned along the way:

We actually started almost a day late, without a clear idea of what to build. Diving into procedural generation, tilemaps, and roguelike mechanics was new territory for us, but also where we learned the most. Designing infinite maps that still felt fun and fair pushed us to experiment with VRF randomness and rethink how roguelike levels could be mapped to blockchain mechanics.

Technical highlights:

VRF-driven randomness: Used to generate endless map sequences fairly and transparently. Anti-repeat pricing: Prices increase on-chain, but we pre-calculate locally so the UI stays smooth. Dynamic Phaser imports: Phaser is only loaded when the game runs, keeping the web app bundle lean.

Stack:

Frontend: Next.js 14, React, TypeScript, Tailwind CSS, Phaser 3, Privy Blockchain: Flow EVM Testnet, Solidity contracts (ERC-20 + game logic) Deployment: Vercel for frontend, Flow EVM for contracts

background image mobile

Join the mailing list

Get the latest news and updates