Mystic Forest Flow is an adventure that generates a story based on your choices.
An interactive text-based adventure game with AI-generated images and Flow blockchain integration. Make choices that shape your destiny and save your story outcomes on the blockchain!
This project is built for ETHGlobal New Delhi 2025 and targets the Flow Foundation's $10,000 prize for gaming applications.
https://testnet.evm.nodes.onflow.org545mystic-forest-flow/
āāā api/
ā āāā index.py # Flask backend server
āāā public/
ā āāā index.html # Main game page
ā āāā script.js # Frontend JavaScript
ā āāā style.css # Game styling
ā āāā ethers-offline.js # Offline ethers.js fallback
āāā ForestAdventure.sol # Smart contract
āāā forest-adventure.js # Contract interaction
āāā requirements.txt # Python dependencies
āāā vercel.json # Vercel configuration
āāā README.md # This file
The game uses a Solidity smart contract deployed on Flow testnet:
0xafa6C385c1B6D26Fda55f1a576828B75E9F9FD6ccreateStoryOutcome, getStoryOutcome, getTotalStoriesStoryCreated, StoryUpdatedEach story outcome includes:
This uses Pollinations to get the images, we have integrated the smart contracts on Flow - Flow EVM (Ethereum-compatible), and also used filecoin for storage. the part where the integration of image and generation of a new story took a long time. Flow Integration and deployment of smart contract was a easy process with well documented structure and videos that helped a lot

